Description Usage Arguments Value
View source: R/FormatForRegression.R
FormatForRegression
takes data and prepares it for PRM regression
1 2 | FormatForRegression(f, Data, Fisheries, DependentVariable, CatchVariables,
CatchLags, LifeHistoryVars, IsLog, IdVar)
|
f |
fishery |
Data |
raw data |
Fisheries |
the total list of all possible fisheries |
DependentVariable |
the left hand variable |
CatchVariables |
vector of catch related variables |
CatchLags |
number of years of catch lags to create |
LifeHistoryVars |
life history variables to include |
IsLog |
is the dependent variable in log space |
IdVar |
the variable marking the id |
formatted data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.