cda: Cummulative difference approach (CDA) for homogeneous...

Description Usage Arguments Examples

View source: R/cda.R

Description

Function for homogeneous segmentation of spatial lines data using a cummulative difference approach (CDA).

Usage

1
cda(var = "deflection", length = "length", data, range = NULL)

Arguments

var

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

length

A character of road length name in data.

data

A data frame of a dataset.

range

A vector of length threshold.

Examples

1
2
3
testdata <- tsdwa[1:100,]
testdata$Length <- testdata$SLK.end - testdata$SLK.start
testdata <- cda(var = "Deflection", length = "Length", testdata)

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

Related to cda in HS...