temp_fact | R Documentation |
temp_fact
is a matrix multiplication between traffic and
hourly expansion data-frames to obtain a data-frame of traffic
at each link to every hour
temp_fact(q, pro, net, time)
q |
Numeric; traffic data per each link |
pro |
Numeric; expansion factors data-frames |
net |
SpatialLinesDataFrame or Spatial Feature of "LINESTRING" |
time |
Character to be the time units as denominator, eg "1/h" |
data-frames of expanded traffic or sf.
## Not run:
# Do not run
data(net)
data(pc_profile)
pc_week <- temp_fact(net$ldv+net$hdv, pc_profile)
plot(pc_week)
pc_weeksf <- temp_fact(net$ldv+net$hdv, pc_profile, net = net)
plot(pc_weeksf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.