View source: R/estimateSnSpControl.r
estimateSnSpControl | R Documentation |
estimateSnSp
The values supplied in the function–call replace the defaults
and a list with all possible arguments is returned. The returned list is
used as the control
argument to the function estimateSnSp
.
estimateSnSpControl(
seed = NULL,
Sn.distn = NULL,
Sn.spread = NULL,
Sp.distn = NULL,
Sp.spread = NULL,
prev.distn = NULL,
prev.spread = NULL,
tolerance = 0.001,
alpha = 0.05,
step.size = 1e-06,
parm = NULL,
rep.iter = TRUE,
iter.n = 50
)
seed |
The seed used in the random generation of the distributions of sensitivity and specificity for all reference tests and prevalence of each population. See also set.seed. |
Sn.distn |
|
Sn.spread |
|
Sp.distn |
|
Sp.spread |
|
prev.distn |
|
prev.spread |
|
tolerance |
Setting a limit on the pgtol used in the optim function with the "L-BFGS-B" method. See also optim. Defaults to 1E-03. |
alpha |
Significance levels. Defaults to 0.05. |
step.size |
Provides the level of resolution in values simulated from a triangular distribution. Defaults to 1E-06. |
parm |
|
rep.iter |
logical ( |
iter.n |
integer indicating the frequency of updates for the number of iterations completed. Defaluts to 50. |
A list with the following elements (as defined above): seed
,
Sn.disn
, Sn.spread
, Sp.distn
, Sp.spread
, prev.distn
,
prev.spread
, tolerance
, step.size
, parm
.
DiagTestKit-package
estimateSnSpControl()
estimateSnSpControl(seed = 64725)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.