View source: R/StoxBaselineFunctions.R
DefineStockSplittingParameters | R Documentation |
Defines parameters for the stock-splitting analysis in Reca, including parameters for misclassifying when determining stock membership of a specimen.
DefineStockSplittingParameters(
processData,
DefinitionMethod = c("ResourceFile", "FunctionParameters"),
FileName = character(),
StockNameCC = character(),
StockNameS = character(),
ProbabilityType1As1 = numeric(),
ProbabilityType5As1 = numeric(),
ProbabilityType2As2 = numeric(),
ProbabilityType4As2 = numeric(),
ProbabilityType2As4 = numeric(),
ProbabilityType4As4 = numeric(),
ProbabilityType1As5 = numeric(),
ProbabilityType5As5 = numeric(),
UseProcessData = F
)
processData |
data.table() as returned from this function |
DefinitionMethod |
'ResourceFile' or 'FunctionParameters', see details. |
FileName |
path to resource file |
StockNameCC |
Variable for |
StockNameS |
Variable for |
ProbabilityType1As1 |
Variable for |
ProbabilityType5As1 |
Variable for |
ProbabilityType2As2 |
Variable for |
ProbabilityType4As2 |
Variable for |
ProbabilityType2As4 |
Variable for |
ProbabilityType4As4 |
Variable for |
ProbabilityType1As5 |
Variable for |
ProbabilityType5As5 |
Variable for |
UseProcessData |
If TRUE, bypasses execution of function and returns existing 'processData' |
For DefinitionMethod 'ResourceFile', definitions are read from a UTF-8 encoded tab separated file with headers and one row
with headers corresponding to column names in StockSplittingParameters
.
see StockSplittingParameters
for further explanation on the coding system.
For DefinitionMethod 'FunctionParameters' defintions are constructed from parameters to this function.
StockSplittingParameters
.
PrepareRecaEstimate
for use of stock-splitting parameters in Reca-estimation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.