mcv {HS} | R Documentation |
Minimization coefficient of variation (MCV) for homogeneous segmentation of spatial lines data.
Description
Minimization coefficient of variation (MCV) for homogeneous segmentation of spatial lines data.
Usage
mcv(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 segment length threshold. |
Examples
testdata <- tsdwa[1:100,]
testdata$length <- testdata$SLK.end - testdata$SLK.start
testdata <- mcv(var = "Deflection", length = "length", testdata, range = c(0.1, 0.5))
[Package HS version 1.1 Index]