Learn R Programming

npde (version 2.0)

npdeControl: Set options for an NpdeObject

Description

Set, replace and check options for an NpdeObject

Usage

npdeControl(boolsave = TRUE, namsav = "output", type.graph = "eps", verbose = FALSE, calc.npde = TRUE, calc.pd = TRUE, decorr.method = "cholesky", cens.method  = "omit", ties = TRUE, sample = FALSE)

Arguments

boolsave
whether to save the results (a file containing the numerical results and a file with the graphs)
namsav
the root name of the files to save to (the file with the results will be named ROOTNAME.npde and the graphs will be saved to ROOTNAME.format where format is given by the type.graph argument)
type.graph
type of graph to save to (one of "eps", "pdf", "jpeg", "png")
verbose
a boolean; if TRUE, a message is printed as the computation of the npde begins for each new subject
calc.pd
a boolean; TRUE to compute pd
calc.npde
a boolean; TRUE to compute npde
decorr.method
the method used to decorrelate simulated and observed data (see npde.decorr.method)
cens.method
the method used to handle censored data (see npde.cens.method)
ties
if FALSE, a smoothing will be applied to prediction discrepancies to avoid ties
sample
if TRUE, the test on the pd will be performed after randomly sampling only pd per subject