prepdata.nmadas: prepdata

Description Usage Arguments Author(s)

View source: R/utils.R

Description

Prepare the data

Usage

1
2
prepdata.nmadas(data, S.ID, T.ID, tp = NULL, fn = NULL, tn = NULL,
  fp = NULL)

Arguments

data

A data-frame with no missing values containg TP, TN, FP, FN, study and test names.

S.ID

A string indicating the name of the column with the study identifier.

T.ID

A string indicating the name of the column with the test identifier.

tp

A string indicating the name of the column with the true positives. Default is TP.

fn

A string indicating the name of the column with the false negatives. Defautl is FN.

tn

A string indicating the name of the column with the true negatives. Default is TN.

fp

A string indicating the name of the column with the false positives. Default is FP.

Author(s)

Victoria N Nyaga


VNyaga/NMADAS documentation built on May 6, 2019, 11:20 a.m.