View source: R/StoxBaselineFunctions.R
DefineLengthConversionParameters | R Documentation |
Define length conversion parameters for approximating one type of length measurement from measurments of another type, based on a linear regression fit between measurement types. E.g. calculating 'total length' from measured 'fork length'.
DefineLengthConversionParameters(
processData,
DefinitionMethod = c("ResourceFile"),
FileName = character(),
UseProcessData = F
)
processData |
|
DefinitionMethod |
'ResourceFile'. See details. |
FileName |
path to resource file |
UseProcessData |
If TRUE, bypasses execution of function and returns existing 'processData' |
For DefinitionMethod 'ResourceFile': Definitions are read from a tab separated, UTF-8 encoded file with headers. Columns defined as:
Free-text description of the product
Identifier for the species that the conversion applies to
Identifier for the type of length measurement of the measured length
scalar value representing the intercept (in cm) of a linear regression fit between length measurements.
scalar value representing the slope of a linear regression fit between length measurements.
See also LengthConversionTable
LengthConversionTable
ConvertLengthBiotic
for applying length conversion to data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.