normalize_scores_scoring | R Documentation |
Normalize scores using either ScoringTable
objects for one or
more variables. Given data.frame should also contain columns used in
GroupingConditions
attached to the table (if any)
normalize_scores_scoring( data, vars, ..., retain = FALSE, group_col = NULL, .dots = list() )
data |
data.frame containing raw scores |
vars |
names of columns to normalize. Length of vars
need to be the same as number of tables provided to either |
... |
|
retain |
either boolean: |
group_col |
name of the column for name of the group each
observation was qualified into. If left as default |
.dots |
|
data.frame with normalized scores
Other score-normalization functions:
normalize_scores_df()
,
normalize_scores_grouped()
,
normalize_score()
# Scoring table to export / import # suppressMessages( Consc_ST <- GroupedFrequencyTable( data = IPIP_NEO_300, conditions = GroupConditions("Sex", "M" ~ sex == "M", "F" ~ sex == "F"), var = "C") |> GroupedScoreTable(scale = STEN) |> to_ScoringTable(min_raw = 60, max_raw = 300) ) # normalize scores Consc_norm <- normalize_scores_scoring( data = IPIP_NEO_300, vars = "C", Consc_ST, group_col = "Group" ) str(Consc_norm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.