rawMisclassificationMatrix: obtain the raw misclassification matrix using gold standard...

View source: R/utils.R

rawMisclassificationMatrixR Documentation

obtain the raw misclassification matrix using gold standard and VA COD

Description

obtain the raw misclassification matrix using gold standard and VA COD

Usage

rawMisclassificationMatrix(calib.cod, calib.truth, causes)

Arguments

calib.cod

will be a vector of length N, with each entry as the estimated COD (as a character) for indiv. i in the calibration set

calib.truth

is a character vector with the true COD for each subject in the calibration set

Value

an integer matrix T where (i,j)th entry is the number of subjects in the calibration set with gold standard COD i and VA COD j


jfiksel/CalibratedVA documentation built on Nov. 14, 2022, 2:59 p.m.