Description Usage Arguments Value
View source: R/DefineAndUpdateVariables.R
This function converts one or more columns of StoxBioticData
by the function given by ConversionFunction
.
1 2 3 4 5 6 7 | ConvertStoxBiotic(
StoxBioticData,
TargetVariable = character(),
ConversionFunction = c("Constant", "Addition", "Scaling", "AdditionAndScaling"),
GruopingVariables = character(),
Conversion = data.table::data.table()
)
|
StoxBioticData |
An input of ModelData object |
TargetVariable |
The variable to modify. |
ConversionFunction |
Character: The function to convert by, one of "Constant", for replacing the specified columns by a constant value; "Addition", for adding to the columns; "Scaling", for multiplying by a factor; and "AdditionAndScaling", for both adding and multiplying. |
GruopingVariables |
A vector of variables to specify in the |
Conversion |
A table of the The parameters of the |
A StoxBioticData
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.