hs: Homogeneous segmentation function with continuous variables.

Description Usage Arguments Examples

View source: R/hs.R

Description

Homogeneous segmentation function with continuous variables.

Usage

1
2
hs(start = "SLK.start", end = "SLK.end", var = "deflection",
          data, method = "shs", range = NULL)

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.

data

A data frame of a dataset.

method

A character of homogeneous segmentation method. Available methods include "shs", "cda" and "mcv".

range

A vector of segment length threshold.

Examples

1
2
3
testdata <- tsdwa[1:100,]
hs1 <- hs(start = "SLK.start", end = "SLK.end", var = c("Curvature", "Deflection", "BLI"),
          testdata, method = "shs", range = c(0.1, 0.5))

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

Related to hs in HS...