[R] plot logist

Prof Brian D Ripley ripley at stats.ox.ac.uk
Mon Oct 8 08:39:37 CEST 2001


On Sun, 7 Oct 2001, Ronaldo Reis Jr. wrote:

> Hi,
> I make a glm analysis with binomial errors and its OK.
> Now I need plot the ajusted logist line in my points. How do I make it?
>
> |              * * * * -> I need plot an ajusted
> |            * *           line in this points.
> |          * *
> |         *
> |        * *
> |      * *
> |* * * *
> |_________________________
>
>
>
> Exist an abline like function for ajust others formulas?
> Exist in R anything like Tablecurve 2d?

Use predict + lines to plot the curve.  There's an example in the
MASS script ch07.R, which should be on your R machine in
.../library/MASS/scripts/ch07.R. Run it and look at the output to see how
to adapt it.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list