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


nliulab/AutoScore documentation built on Oct. 18, 2024, 4:53 p.m.