get_sorted: Uses a scoring matrix to decide which model (model answer)...

View source: R/report_scoring_utility.R

get_sortedR Documentation

Uses a scoring matrix to decide which model (model answer) component should be used to score every user (user answer) component throughout the function, 'lowest' scores are the ones that represent a near-perfect match

Description

Uses a scoring matrix to decide which model (model answer) component should be used to score every user (user answer) component throughout the function, 'lowest' scores are the ones that represent a near-perfect match

Usage

get_sorted(
  model_vars,
  user_vars,
  get_var_score = get_distance,
  blank_var_gen = NULL
)

Arguments

model_vars

dataframe containing the first set of codings to be matched

user_vars

dataframe containing the second set of codings to be matched

get_var_score

the function to do the comparison


gidonc/durhamevp documentation built on April 8, 2022, 10:31 a.m.