0

I was trying to do a histogram with the line of density and this error keeps appearing. I don't know how to correct it, someone could help? Here is my code:

hist(x1,col="peachpuff",border="black",prob = TRUE,xlab = "x1",main = "im")
lines(density(x1),lwd = 2,col = "chocolate3")

0 Answers0