Hi, i have never really used R before and i need to produce a density curve
for use in an assignment. Following the instructions in the manual provided
with my course i keep getting this error message:
"Error in plot.xy(xy, type, ...) : invalid plot type '1'"

The commands i have entered are:
>x=seq(0, 1800, 10)
>x
>f=dnorm(x, 1454.190, 162.6301)
>f
>plot(x,f,type='1')

Any help would be greatly appreciated.

Thanks
-- 
View this message in context: 
http://www.nabble.com/Error-producing-density-curve-tp19173403p19173403.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to