View source: R/missing.control.R
missing.control | R Documentation |
prioritylasso
Construct control structures for handling of missing data for prioritylasso
missing.control(
handle.missingdata = c("none", "ignore", "impute.offset"),
offset.firstblock = c("zero", "intercept"),
impute.offset.cases = c("complete.cases", "available.cases"),
nfolds.imputation = 10,
lambda.imputation = c("lambda.min", "lambda.1se"),
perc.comp.cases.warning = 0.3,
threshold.available.cases = 30,
select.available.cases = c("maximise.blocks", "max")
)
handle.missingdata |
how blockwise missing data should be treated. Default is |
offset.firstblock |
determines if the offset of the first block for missing observations is zero or the intercept of the observed values for |
impute.offset.cases |
which cases/observations should be used for the imputation model to impute missing offsets. Supported are complete cases (additional constraint is that every observation can only contain one missing block) and all available observations which have an overlap with the current block. |
nfolds.imputation |
nfolds for the glmnet of the imputation model |
lambda.imputation |
which lambda-value should be used for predicting the imputed offsets in cv.glmnet |
perc.comp.cases.warning |
percentage of complete cases when a warning is issued of too few cases for the imputation model |
threshold.available.cases |
if the number of available cases for |
select.available.cases |
determines how the blocks which are used for the imputation model are selected when |
list with control parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.