CalculateIRIperSegmentsOverlapping: Computes the IRI for fixed length overlapping segments (e.g....

Description Usage Arguments Value Examples

View source: R/iri.R

Description

Computes the IRI for fixed length overlapping segments (e.g. 100 m segments) with an offset (e.g. 20 m) given a road profile

Usage

1
2
CalculateIRIperSegmentsOverlapping(profile, iri_coef, segment.length = 100,
  segment.offset = 20)

Arguments

profile

Road profile (as numeric vector in mm) whose IRI is to be calculated.

iri_coef

Set of coefficients for specific sample size (e. g. IRI_COEF_100).

segment.length

Distance (in m) for which the IRI is to be calculated. Default is 100 m.

segment.offset

Offset (in m) for which the segments will not overlap. Default is 20 m.

Value

Calculated IRI (m/km) per segment (as numeric) of the given profile.

Examples

1
2
3
4
5
6
7
8
9
profile <- rnorm(10000)
iri <- CalculateIRIperSegments(profile, IRI_COEF_100, 20)
par(mfrow = c(1,2))
plot(profile, type="l",
   xlab="Distance [dm]", ylab="Profile [m]",
   main="Read profile (Laser measurement)")
plot(iri, type="s",
   xlab="Segment (with 20 m offset)", ylab="IRI [m/km]",
   main="International Roughness Index (IRI)\nsample = 10cm, segment = 20m")

vsimko/rroad documentation built on May 14, 2020, 1:44 a.m.