Description Usage Arguments Details Value Note Author(s)
View source: R/resample.covariates.R
Parametrically resamples specified variables in the dataset based on a measure of uncertainty and a sampling distribution supplied by the user.
1 | resample.covariates(ddf.dat.working, covariate.uncertainty, MAE.warnings)
|
ddf.dat.working |
a list of datasets to be used in the analyses |
covariate.uncertainty |
a dataframe detailing the variables to be resampled - variable.layer, variable.name, cor.factor.layer, cor.factor.name , uncertainty.layer, uncertainty.name, uncertainty.measure, sampling.distribution. |
MAE.warnings |
character vector of warning messages |
This function may also apply a correction factor. If numeric is specified the same value will be applied to all observations. If a data layer is specified then this function looks for a variable name in the specified layer of the dataset and applies this as a correction factor.
list of dataframes containing the parametrically resampled data
Internal function not intended to be called by user.
Laura Marshall
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.