library(rroad)
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "vignettes/README-"
)
set.seed(1)

rroad R package

Set of tools for monitoring road condition.

Currently, the following features are supported:

Build Status codecov.io CRAN Status Rdoc Dependency Status

Download and Install

To download the development version of the package, type the following at the R command line:

install.packages("devtools")
devtools::install_github("vsimko/rroad")

To download the release version of the package on CRAN, type the following at the R command line:

install.packages("rroad")

Examples

profile <- rnorm(10000)
iri <- CalculateIRIperSegments(profile, IRI_COEF_100, 20)
par(mfrow = c(1,2)) # space for two diagrams
plot(profile, type = "l",
  xlab = "Distance [dm]", ylab = "Profile [mm]",
  main = "Read profile (Laser measurement)")
plot(iri, type = "s",
  xlab = "Segment", ylab = "IRI [m/km]",
  main = "International Roughness Index (IRI)\nsample = 10cm, segment = 20m")

References

Sayers, Michael W; Gillespie, Thomas D; Queiroz, Cesar A.V. 1986 The International Road Roughness Experiment (IRRE) : establishing correlation and a calibration standard for measurements. World Bank technical paper ; no. WTP 45. Washington, DC : The World Bank. Link



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