Invalid plot type '1'

Hi
I am a newbie R,
I have a problem.

height<-seq(-4,4,0.1)
plot(height,dnorm(height,0,1),type="1",ylab="f(z)",xlab="z",main="A")
Error in plot.xy(xy, type, ...) : invalid plot type '1'

Try type ="l", the letter l for line?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.