Logistic regression

63 views
Skip to first unread message

Eduardo Sánchez Ayra

unread,
Jan 9, 2013, 12:27:48 PM1/9/13
to ggp...@googlegroups.com
Anyone could give me an idea of plotting logistic regression with ggplot2, any doc or whatever?
best regards

Ben Bond-Lamberty

unread,
Jan 9, 2013, 12:43:58 PM1/9/13
to Eduardo Sánchez Ayra, ggp...@googlegroups.com
There's an example in the stat_smooth documentation.

Ben


On Wed, Jan 9, 2013 at 12:27 PM, Eduardo Sánchez Ayra <esa...@gmail.com> wrote:
> Anyone could give me an idea of plotting logistic regression with ggplot2, any doc or whatever?
> best regards
>
> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2

Ben Bolker

unread,
Jul 26, 2013, 8:29:52 AM7/26/13
to ggp...@googlegroups.com
On 13-01-09 12:27 PM, Eduardo Sánchez Ayra wrote:
> Anyone could give me an idea of plotting logistic regression with ggplot2, any doc or whatever?
> best regards
>

Try

geom_smooth(method="glm",family=binomial)

googling for "geom_smooth glm binomial" will probably get you something.
Reply all
Reply to author
Forward
0 new messages