| stat_conf3logit | R Documentation |
gg3logit plotstat_conf3logit() adds a field to a gg3logit plot.
stat_conf3logit(
mapping = aes(),
data = NULL,
geom = "polygon",
position = "identity",
show.legend = NA,
inherit.aes = TRUE,
...
)
mapping |
list of aesthetic mappings to be used for plot. Mandatory
aesthetics should not be specified if |
data |
a |
geom |
The geometric object to use to display the data for this layer.
When using a
|
position |
A position adjustment to use on the data for this layer. This
can be used in various ways, including to prevent overplotting and
improving the display. The
|
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
additional arguments passed through to |
Layer of ggplot2 package, object of class LayerInstance.
Other gg functions:
autoplot.Hfield3logit(),
gg3logit(),
stat_3logit(),
stat_field3logit()
data(cross_1year)
mod0 <- nnet::multinom(employment_sit ~ gender + finalgrade, data = cross_1year)
field0 <- field3logit(mod0, 'genderFemale', conf = 0.95)
gg3logit(field0) + stat_conf3logit()
gg3logit(field0) + stat_field3logit() + stat_conf3logit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.