compute_final_score_ord: Internal function: Compute risk scores for ordinal data given...

compute_final_score_ordR Documentation

Internal function: Compute risk scores for ordinal data given variables selected, cut-off values and scoring table

Description

Internal function: Compute risk scores for ordinal data given variables selected, cut-off values and scoring table

Usage

compute_final_score_ord(data, final_variables, cut_vec, scoring_table)

Arguments

data

A processed data.frame that contains data for validation or testing purpose. This data.frame must have variable label and should have same format as train_set (same variable names and outcomes)

final_variables

A vector containing the list of selected variables, selected from Step(ii) AutoScore_parsimony_Ordinal.

cut_vec

Generated from STEP(iii) AutoScore_weighting_Ordinal.

scoring_table

The final scoring table after fine-tuning, generated from STEP(iv) AutoScore_fine_tuning_Ordinal.Please follow the guidebook


AutoScore documentation built on Oct. 16, 2022, 1:06 a.m.