Description Usage Arguments Value
This function imputes missing values through a global mean.
1 | defaultGlobalMean(data, imputationParameters)
|
data |
The data.table object containing the data. |
imputationParameters |
A list of the parameters for the imputation algorithms. See defaultImputationParameters() for a starting point. |
Returns a vector of the estimated/imputed values. If a value existed in the original data, then an NA is returned in that location. Otherwise, the mean of all available observations is returned (computed across the entire dataset).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.