segplot {HS} | R Documentation |
Visualization of homogeneous segments.
Description
Visualization of homogeneous segments.
Usage
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
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)
[Package HS version 1.1 Index]