Hi Giovanni,
curve(1/(1+exp(5.0993-0.1084*x)), 0, 100)
HTH,
Jorge
On Sat, May 15, 2010 at 12:43 AM, Giovanni Azua <> wrote:
> Hello,
>
> 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,
> Giovanni
>
> ______________________________________________
> 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.
>
[[alternative HTML version deleted]]