Description Usage Arguments Examples
Tidy up the output from model_survey()
1 2 3 4 5 6 7 8 | ## S3 method for class 'NPSdrivers'
tidy(m)
## S3 method for class 'NPSdrivers'
augment(m)
## S3 method for class 'NPSdrivers'
glance(m)
|
m |
Model output from |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(NPS)
library(dplyr)
library(broom)
data(survey_sim)
survey_sim <- survey_sim %>%
mutate(NPC = factor(npc(recommend), ordered = TRUE)) %>%
select(-recommend)
m <- model_survey(survey_sim)
tidy(m)
head(augment(m))
glance(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.