assessTwoBooleanColumnsConcordanceFor.TP.TN.FP.FN.Sens.Spec.FPR.FNR: Assess two boolean columns to calculate true positives, true...

Description Usage Arguments Value

Description

This function takes data frame where first columns is a boolean indicating TRUE cases while second column indicating TRUE cases according to assay specifications.

Usage

1
assessTwoBooleanColumnsConcordanceFor.TP.TN.FP.FN.Sens.Spec.FPR.FNR(df)

Arguments

df

Data frame where df[,1] is boolean vector of TRUE cases (i.e. TRUE represents equivalnce between the samples cases and column category), and df[,2] is boolean vector of what is TRUE according to given threshold criteria of an assay (i.e. TRUE respresent positive according to an assay)

Value

A list showing TP, TN, FP, FN, Sens, Spec, FPR, FNR


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.