Description Usage Arguments Examples
View source: R/make_scenarios.R
Make table of scenarios
1 | make_scenarios(m, redistribution = 0.5)
|
m |
Model output from |
redistribution |
Proportion of highest score distributed to lower scores |
1 2 3 4 5 6 7 8 9 10 11 12 | library(NPS)
library(NPSdrivers)
library(dplyr)
data(survey_sim)
survey_sim <- survey_sim %>%
mutate(NPC = factor(npc(recommend), ordered = TRUE)) %>%
select(-recommend)
m <- model_survey(survey_sim)
scenarios <- make_scenarios(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.