Learn R Programming

RIbench (version 1.0.2)

runDirectMethod: Convenience function to simulate the direct method for the specified subset

Description

Convenience function to simulate the direct method for the specified subset

Usage

runDirectMethod(tableTCs = NULL, N = 120, cutoffZ = 5)

Value

(data frame) with computed performance measures

Arguments

tableTCs

(data frame) containing the pre-defined parameter combinations to generate the simulations

N

(integer) specifying the number of samples used as sample size for the direct method, default: 120

cutoffZ

(numeric) specifying if a cutoff should be used to classify results as implausible and exclude from analysis

Author

Tatjana Ammer tatjana.ammer@roche.com

Examples

Run this code

# \donttest{
# example to run direct method only for test sets for hemoglobin (Hb)
testsets <- loadTestsetDefinition()
directRes <- runDirectMethod(tableTCs = testsets[testsets$Analyte =="Hb",], N = 120, cutoffZ = 5)
# } 

Run the code above in your browser using DataLab