Vehicles: Construction function for class "Vehicles"
Description
Vehicles returns a tranformed object with class "Vehicles" and units
'veh'. The type of objects supported are of classes "matrix", "data.frame",
"numeric" and "array". If the object is a matrix it is converted to data.frame.
If the object is "numeric" it is converted to class "units".
Usage
Vehicles(x, ..., time)
# S3 method for Vehicles
print(x, ...)
# S3 method for Vehicles
summary(object, ...)
# S3 method for Vehicles
plot(x, ..., message = TRUE)
Arguments
x
Object with class "Vehicles"
...
ignored
time
Character to be the time units as denominator, eg "1/h"