[R] plot formula 'x' is missing?

Giovanni Azua bravegag at gmail.com
Sat May 15 06:43:17 CEST 2010


I'd like to plot the logistic function for a specific model like this:

> plot(formula=y~1/(1+exp(5.0993-0.1084*x)),data=data.frame(x=seq(0,100,length.out=1000)))
Error in is.function(x) : 'x' is missing 

However, I get the 'x' is missing error above and don't know how to fix it ...

Can anyone advice?
Thanks in advance,
Best regards,

More information about the R-help mailing list