View source: R/ensureProductionOutputs.R
ensureProductionOutputs | R Documentation |
This function is designed to ensure that the dataset to be saved is valid.
ensureProductionOutputs(data, processingParameters, formulaParameters,
testImputed = FALSE, testCalculated = FALSE, domain = "agriculture",
dataset = "aproduction", returnData = TRUE, normalised = TRUE)
data |
A data.table containing the data. |
processingParameters |
A list containing the parameters to be used in the processing algorithms. See ?defaultProcessingParameters for a starting point. |
formulaParameters |
A list holding the names and parmater of formulas.
See |
testImputed |
logical, whether to test imputation result |
testCalculated |
logical, whether to test calculated result. |
domain |
The domain to be saved back |
dataset |
The dataset to be saved back |
returnData |
logical, whether the data should be returned |
normalised |
logical, whether the data is normalised |
The original data if all tests are passed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.