[R] Error producing density curve

rr400 raul.felipe.ramirez at gmail.com
Wed Aug 27 03:38:16 CEST 2008


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.



More information about the R-help mailing list