Description Usage Arguments Examples
Fit ordered logistic regression model to survey data
| 1 | model_survey(data, verbose = FALSE)
 | 
| data | A data frame of survey results with an "NPC" column (for Net Promoter Catagory). See example. | 
| verbose | Logical indicating if you want to see output from  | 
| 1 2 3 4 5 6 7 8 9 10 | library(NPS)
library(dplyr)
data(survey_sim)
survey_sim <- survey_sim %>%
  mutate(NPC = factor(npc(recommend), ordered = TRUE)) %>%
  select(-recommend)
m <- model_survey(survey_sim)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.