format_rum_data: Function to format RUM data Function calls mlogit

Description Usage Arguments

View source: R/format_rum_data.R

Description

Function to format RUM data Function calls mlogit

Usage

1
2
3
format_rum_data(data_in = filt_clusts, the_port = "ASTORIA / WARRENTON",
  min_year = 2011, max_year = 2012, risk_coefficient = 1,
  tow_num_range = c(1, 1), ndays = 60)

Arguments

data_in

Data going in to the function; default is filt_clusts

the_port

Port of focus; Default is Astoria

min_year

Minimum year used to filter the data

max_year

Maximum year used to filter the data, also RUM data is filtered to be from the max_year

risk_coefficient

Coefficient to adjust the quota prices up or down, feeding into net revenue calculations

tow_num_range

Filter the tows to be the first tow or subsequent tows

ndays

Number of previous days data to use in revenue expectations

trip_dists

Distances covered by each trip


peterkuriyama/ch4 documentation built on June 18, 2021, 9:59 a.m.