rasch_rawscore {whomds}R Documentation

Add the raw scores to the data and artificial individuals attaining the minimum and/or maximum

Description

Add the raw scores to the data and artificial individuals attaining the minimum and/or maximum

Usage

rasch_rawscore(df, vars_metric, vars_id, max_values)

Arguments

df

a data frame of individual survey data, where each row is an individual

vars_metric

a character vector of items to use in the Rasch Analysis

vars_id

a string with column name uniquely identifying individuals

max_values

a tibble with two columns, var equivalent to vars_metric and max_val with their corresponding maximum possible values

Value

a tibble with a new column RawScore with the raw sum score of vars_metric for each individual, and artificial rows with individuals that attain the minimum and/or maximum if either is not attained in df. The artificial maximum row has value "MAX" in the vars_id column, and likewise the artificial minimum row has the value "MIN" in this column.

See Also

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_recode(), rasch_rescale_children(), rasch_rescale(), rasch_split_age(), rasch_split(), rasch_testlet()


[Package whomds version 1.1.1 Index]