powered by
age_ldv returns amount of vehicles at each age
age_ldv
age_ldv( x, name = "age", a = 1.698, b = -0.2, agemin = 1, agemax = 50, k = 1, bystreet = F, net, verbose = FALSE, namerows, time )
dataframe of age distrubution of vehicles
Numeric; numerical vector of vehicles with length equal to lines features of road network
Character; of vehicle assigned to columns of dataframe
Numeric; parameter of survival equation
Integer; age of newest vehicles for that category
Integer; age of oldest vehicles for that category
Numeric; multiplication factor. If its length is > 1, it must match the length of x
Logical; when TRUE it is expecting that 'a' and 'b' are numeric vectors with length equal to x
SpatialLinesDataFrame or Spatial Feature of "LINESTRING"
Logical; message with average age and total numer of vehicles
Any vector to be change row.names. For instance, name of regions or streets.
Character to be the time units as denominator, eg "1/h"
Other age: age_hdv(), age_moto(), age()
age_hdv()
age_moto()
age()
if (FALSE) { data(net) PC_E25_1400 <- age_ldv(x = net$ldv, name = "PC_E25_1400") plot(PC_E25_1400) PC_E25_1400 <- age_ldv(x = net$ldv, name = "PC_E25_1400", net = net) plot(PC_E25_1400) }
Run the code above in your browser using DataLab