subscores: Calculate subscores from an overall score in a dataframe

Description Usage Arguments

Description

Given a dataframe, specify a variable to be the overall risk field and loop through all other fields and score them on whether the observation is closest to the others on the overall risk

Usage

1
subscores(df, VAR, RISK)

Arguments

df

a dataframe

VAR

a character representing the name of a variable in DF

RISK

a character representing the name of a variable in DF


jknowles/EWStools documentation built on May 19, 2019, 11:42 a.m.