moves_speed {vein} | R Documentation |
Return speed bins according to US/EPA MOVES model
Description
speed_moves
return an object of average speed bins as defined by
US EPA MOVES. The input must be speed as miles/h (mph)
Usage
moves_speed(x, net)
Arguments
x |
Object with class, "sf", "data.frame", "matrix" or "numeric" with speeds in miles/h (mph) |
net |
optional spatial dataframe of class "sf". it is transformed to "sf". |
Examples
{
data(net)
net$mph <- units::set_units(net$ps, "miles/h")
net$speed_bins <- moves_speed(net$mph)
head(net)
moves_speed(net["ps"])
}
[Package vein version 1.1.3 Index]