cda {HS}R Documentation

Cummulative difference approach (CDA) for homogeneous segmentation of spatial lines data.

Description

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

Usage

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

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


[Package HS version 1.1 Index]