assign_score: Internal Function: Automatically assign scores to each...

View source: R/common.R

assign_scoreR Documentation

Internal Function: Automatically assign scores to each subjects given new data set and scoring table (Used for intermediate and final evaluation)

Description

Internal Function: Automatically assign scores to each subjects given new data set and scoring table (Used for intermediate and final evaluation)

Usage

assign_score(df, score_table)

Arguments

df

A data.frame used for testing, where variables keep before categorization

score_table

A vector containing the scoring table

Value

Processed data.frame with assigned scores for each variables


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