FormatForRegression: FormatForRegression

Description Usage Arguments Value

View source: R/FormatForRegression.R

Description

FormatForRegression takes data and prepares it for PRM regression

Usage

1
2
FormatForRegression(f, Data, Fisheries, DependentVariable, CatchVariables,
  CatchLags, LifeHistoryVars, IsLog, IdVar)

Arguments

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

Value

formatted data frame


DanOvando/GUM documentation built on May 6, 2019, 1:22 p.m.