ensureProductionInputs: Check Production Inputs

View source: R/ensureProductionInputs.R

ensureProductionInputsR Documentation

Check Production Inputs

Description

This function is designed to ensure that the provided dataset is valid.

Usage

ensureProductionInputs(data, processingParameters, formulaParameters,
  returnData = TRUE, normalised = TRUE)

Arguments

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 productionFormulaParameters.

returnData

logical, whether the data should be returned

normalised

logical, whether the data is normalised

Value

The original data if all tests are passed


SWS-Methodology/faoswsProduction documentation built on March 21, 2023, 8:27 p.m.