Set, replace and check options for an NpdeObject
npdeControl(boolsave = TRUE, namsav = "output", type.graph = "eps",
verbose = FALSE, calc.npde = TRUE, calc.npd = TRUE, decorr.method = "cholesky",
cens.method = "omit", ties = TRUE, sample = FALSE)check.control.options(opt)
replace.control.options(opt,...)
replace.control.options(opt, ...)
check.control.options(opt)
A list of settings for the computation of pd/npde
whether to save the results (a file containing the numerical results and a file with the graphs)
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 of graph to save to (one of "eps", "pdf", "jpeg", "png")
a boolean; if TRUE, a message is printed as the computation of the npde begins for each new subject
a boolean; TRUE to compute npde
a boolean; TRUE to compute npd
the method used to decorrelate simulated and observed data (see npde.decorr.method
)
the method used to handle censored data (see npde.cens.method
)
if FALSE, a smoothing will be applied to prediction discrepancies to avoid ties
if TRUE, the test on the pd will be performed after randomly sampling only pd per subject
a list of control options to be checked
named parameters to be changed. The names will be compared to the names of the control variables and changed, with warnings issued for names that do not match.