segsummary {HS}R Documentation

Statistical summary of homogeneous segments.

Description

Statistical summary of homogeneous segments.

Usage

segsummary(start = "SLK.start", end = "SLK.end", var = "deflection",
                  seg.id = "seg.id", data, by.ctg = NULL)
## S3 method for class 'segsummary'
print(x, ...)

Arguments

start

A character of start location name of a spatial line.

end

A character of end 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.

by.ctg

A character of categorical variable names.

x

A list of segmentation result.

...

Ignore

Examples

testdata <- tsdwa[1:100,]
testdata$length <- testdata$SLK.end - testdata$SLK.start
testdata <- shs(var = c("Curvature", "Deflection"), length = "length",
                testdata, range = c(0.1, 0.5))
s1 <- segsummary(start = "SLK.start", end = "SLK.end", var = c("Curvature", "Deflection"),
                 seg.id = "seg.id", testdata)
s1


[Package HS version 1.1 Index]