Description Usage Arguments Details Examples
Sample daily FAF trucks from annual truckload estimates
1 2 | sample_faf4_daily_trucks(annual_truckloads, target.week = 24,
target.day = 4)
|
annual_truckloads |
Data frame containing FAF flow records with estimates of annaul truckload equivalents appended. |
target.week |
Integer value specifying the week of the year the simulation should sample for (defaults to 24, typically occurs in April) |
target.day |
Integer value specifying the day of the week trips should be sampled for (defaults to 4, which corresponds to Wednesday in the target.week) |
This function creates discrete truck trip records from annual truckloads estimated eaelier, randomly assigns a travel week and day, and then saves those records that correspond to the user-specified simulation week and day. The user can specify observed flow distributions by week and day if desired, or sample from uniform distribution. The resulting trip records are for individual trucks, and include the FAF attributes associated with them. Note that the value and tonnage estimates have been split evenly across each of the trucks associatd with a given FAF flow record.
1 | daily_trucks <- sample_faf4_daily_trucks(faf_flows)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.