segplot: Visualization of homogeneous segments.

Description Usage Arguments Examples

View source: R/segplot.R

Description

Visualization of homogeneous segments.

Usage

1
2
segplot(start = "SLK.start", var = "deflection",
               seg.id = "seg.id", data, plot.range = NULL)

Arguments

start

A character of start location name of a spatial line.

var

A character or a character vector of variable names, such as a road pavement performance indicator.

seg.id

A character of the name of new segment number.

data

A data frame of a dataset.

plot.range

A vector of plot range.

Examples

1
2
3
4
5
6
testdata <- tsdwa[1:300,]
testdata$length <- testdata$SLK.end - testdata$SLK.start
testdata <- shs(var = c("Curvature", "Deflection"), length = "length",
                testdata, range = c(0.1, 0.5))
segplot(start = "SLK.start", var = c("Curvature", "Deflection"),
              seg.id = "seg.id", testdata, plot.range = 1:300)

HS documentation built on Sept. 10, 2019, 9:03 a.m.

Related to segplot in HS...