computeDirect {RIbench}R Documentation

Function to simulate the direct method

Description

Function to simulate the direct method

Usage

computeDirect(
  N = 120,
  analyte,
  params,
  seed = 123,
  NIter = 10000,
  RIperc = c(0.025, 0.975)
)

Arguments

N

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

analyte

(character) specifying the biomarker that is currently simulated

params

(list) of parameters for non-pathological distribution (nonp_mu, nonp_sigma, nonp_lambda, and nonp_shift)

seed

(integer) specifying the seed used for the simulation, default: 123

NIter

(integer) specifiyng the number of times N samples should be drawn out of the simulated non-pathological distribution (default: 10,000)

RIperc

(numeric) value specifying the percentiles, which define the reference interval

Value

(data frame) with the estimated reference intervals for NIter iterations

Author(s)

Tatjana Ammer tatjana.ammer@roche.com


[Package RIbench version 1.0.2 Index]