Description Usage Arguments Value Note Author(s) See Also
View source: R/collectImputationModels.R
Collect data from a model, needed for multiple imputation based on this model
1 2 3 4 5 6 7 8 9 10 11 12 13 | collectImputationModels(model, ds = model$result[[1]]$ds,
..., verbosity = 0)
## S3 method for class 'EMLassoGLoMo'
collectImputationModels(model,
ds=model$result[[1]]$ds, useCombinedGLoMo=TRUE, ...,
verbosity=0)
## S3 method for class 'EMLassoGLoMoImputationData'
predict(object,
newdata, out, wts=rep(1, nrow(newdata)),
type.measure="auc", actualPredictAndEvaluateFunction,
unpenalized=FALSE, ..., verbosity=0)
|
model |
model fit |
ds |
dataset for which imputation will need to happen |
... |
implementation dependent. e.g. for
|
verbosity |
The higher this value, the more levels of progress and debug information is displayed (note: in R for Windows, turn off buffered output) |
useCombinedGLoMo |
if |
object |
"EMLassoGLoMoImputationData" that holds the information to perform imputations |
newdata |
dataset for which imputation needs to occur |
out |
outcomes that will be used for evaluating the models |
wts |
weights per observation (defaults to equal weights for all observations) |
type.measure |
see |
actualPredictAndEvaluateFunction |
function similar
to the nonexported |
unpenalized |
if |
collectImputationModels.EMLassoGLoMo
will return
an object of class "EMLassoGLoMoImputationData". This is
a list with items:
imputationParams |
the ... passed along |
useCombinedGLoMo |
as passed along |
combinedGLoMo |
if relevant
( |
glomolist |
if relevant
( |
reusableData |
either a single object of class
"ReusableDataForGLoMoSampling" (see
|
lambda |
taken from
|
family |
taken from |
imputeDs2FitDsProperties |
taken from |
aids to generalize crossvalidation
Nick Sabbe nick.sabbe@ugent.be
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.