FreeFlowLinks: FreeFlowLinks

Description Usage Arguments Details Value

View source: R/S3-Links.R

Description

Construct a FreeFlowLinks object from a SpatialLinesDataFrame.

Usage

1
2
FreeFlowLinks(spobj, vehiclesPerHour, emissionFactor, width, height = 0,
  classification = LinkType(0), ...)

Arguments

spobj

a SpatialLinesDataFrame object

vehiclesPerHour

average number of vehicles per hour (also known as "flow")

emissionFactor

emissions per vehicle, in grams per mile (per hour)

width

mixing zone width, in meters

height

elevation above ground level (not sea level!)

classification

see LinkType for possible values

...

other arguments

Details

vehiclesPerHour, emissionFactor, and other arguments can all be specified as expressions. Use them the same way you would use arguments to transform. A FreeFlowLinks object can be plotted with plot or coerced to a data.frame with as.data.frame.

Value

a FreeFlowLinks object


holstius/Rcaline documentation built on May 17, 2019, 4:39 p.m.