build_score_settings: Build settings for scoring

Description Usage Arguments Value

View source: R/build_score_settings.R

Description

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.

Usage

1
2
3
4
5
6
7
build_score_settings(
  score_var_x = NULL,
  score_var_y = NULL,
  score_var_both = NULL,
  wgts = NULL,
  score_type
)

Arguments

score_var_x

character vector. the variables from the 'x' dataset to score on

score_var_y

character vector. the variables from the 'y' dataset to score on

score_var_both

the variables from both datasets (shared names) to score on, before any prefixes are applied.

wgts

numeric vector. The weights for the linear sum of scores

score_type

character vector.

Value

a list containing options for the 'score_settings' argument of merge_plus.


fedmatch documentation built on Nov. 23, 2021, 1:07 a.m.