Recode survey items for use in Rasch Analysis
rasch_recode(df, vars_metric, recode_strategy, max_values)a named list with:
new df after recoding the desired variables
new max_values after recoding the desired variables
a data frame of individual survey data, where each row is an individual
a character vector of items to use in the Rasch Analysis
a named list giving the strategy to take for recoding variables, passed to rasch_recode(). One element of the list per recode strategy. Each element of the list is a numeric vector giving the new values to map the variables to. The names of the list are the groups of column names to use for each recoding strategy, separated only by ",". Default is NULL, to not recode items.
a tibble with two columns, var equivalent to vars_metric and max_val with their corresponding maximum possible values
Other rasch functions:
rasch_DIF(),
rasch_df_nest(),
rasch_drop(),
rasch_factor(),
rasch_mds_children(),
rasch_mds(),
rasch_model_children(),
rasch_model(),
rasch_quality_children_print(),
rasch_quality_children(),
rasch_rawscore(),
rasch_rescale_children(),
rasch_rescale(),
rasch_split_age(),
rasch_split(),
rasch_testlet()
Other children analysis functions:
rasch_df_nest(),
rasch_drop(),
rasch_mds_children(),
rasch_model_children(),
rasch_quality_children_print(),
rasch_quality_children(),
rasch_rescale_children(),
rasch_split_age(),
rasch_split(),
rasch_testlet()