stat_3logit | R Documentation |
gg3logit
plotstat_3logit()
adds a field and confidence regions to a gg3logit
plot. stat_3logit()
is a wrapper for stats stat_field3logit()
and
stat_conf3logit()
which are jointly applied.
stat_3logit( mapping_field = aes(), mapping_conf = aes(), data = NULL, params_field = list(), params_conf = list(), show.legend = NA, inherit.aes = TRUE, conf = TRUE )
mapping_field, mapping_conf |
aesthetic mappings passed to argument
|
data |
a |
params_field, params_conf |
graphical parameters passed to argument
|
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
conf |
if |
Other gg functions:
autoplot.Hfield3logit()
,
gg3logit()
,
stat_conf3logit()
,
stat_field3logit()
## Not run: data(cross_1year) mod0 <- nnet::multinom(employment_sit ~ gender + finalgrade, data = cross_1year) field0 <- field3logit(mod0, 'genderFemale', conf = 0.95) gg3logit(field0) + stat_3logit() gg3logit(field0) + stat_3logit(conf = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.