build_score_settings.Rd
build_score_settings
is a convenient way to make the proper list for the
score_settings
argument of merge_plus
Each vector in build_score_settings
should be the same length, and each position (first, second, third, etc.)
corresponds to one variable to score on.
build_score_settings(
score_var_x = NULL,
score_var_y = NULL,
score_var_both = NULL,
wgts = NULL,
score_type
)
character vector. the variables from the 'x' dataset to score on
character vector. the variables from the 'y' dataset to score on
the variables from both datasets (shared names) to score on, before any prefixes are applied.
numeric vector. The weights for the linear sum of scores
character vector.
a list containing options for the 'score_settings' argument of merge_plus
.