powered by
speed_moves return an object of average speed bins as defined by US EPA MOVES. The input must be speed as miles/h (mph)
speed_moves
moves_speed(x, net)
Object with class, "sf", "data.frame", "matrix" or "numeric" with speeds in miles/h (mph)
optional spatial dataframe of class "sf". it is transformed to "sf".
{ data(net) net$mph <- units::set_units(net$ps, "miles/h") net$speed_bins <- moves_speed(net$mph) head(net) moves_speed(net["ps"]) }
Run the code above in your browser using DataLab