extractTuningParameter {robustlmm} | R Documentation |
Extract Tuning Parameters Used In Fitting
Description
Methods to extract which tuning parameters have been used for fitting
models. Use extractTuningParameter
for custom configurations and
extractPredefinedTuningParameter
for predefined configurations
provided in this package.
Usage
extractTuningParameter(
tuningParameter,
which = c("rho.e", "rho.sigma.e", "rho.b.diagonal", "rho.sigma.b.diagonal",
"rho.b.blockDiagonal", "rho.sigma.b.blockDiagonal")
)
extractPredefinedTuningParameter(label, which)
Arguments
tuningParameter |
vector of tuning parameters. The vector is expected to be of length 6, containing the tuning parameters for rho.e, rho.sigma.e, rho.b.diagonal, rho.sigma.b.diagonal, rho.b.blockDiagonal and rho.sigma.b.blockDiagonal. 'rho.b.diagonal' denotes the tuning parameter to be used for 'rho.b' for models with diagonal random effects covariance matrix. Names are optional. |
which |
string specifiying which tuning parameter should be extracted. |
label |
label or vector of labels in results. Only predefined labels of the form 'fitDatasets_rlmer_...' are supported (for others NA is returned). |
Value
scalar tuning parameter
Author(s)
Manuel Koller
Examples
extractPredefinedTuningParameter("fitDatasets_rlmer_DAStau", "rho.e")