View source: R/format_rum_data.R
Function to format RUM data Function calls mlogit
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)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.