Description Usage Arguments Author(s) Examples
Plot inspired from: https://recology.info/2012/01/logistic-regression-barplot-fig/ and: http://rpubs.com/kohske/dual_axis_in_ggplot2
1 | logit_dotplot(x, y, xlab, ylab)
|
x |
A continuous predictor |
y |
A continuous outcome variable |
xlab |
Label of x-axis |
ylab |
Label of y-axis |
Ladislas Nalborczyk <ladislas.nalborczyk@gmail.com>
1 2 3 | data(howell)
d <- howell
logit_dotplot(d$height, d$male, xlab = "height", ylab = "p(male)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.