powered by
Function for homogeneous segmentation of spatial lines data using a cummulative difference approach (CDA).
cda(var = "deflection", length = "length", data, range = NULL)
A character or a character vector of variable names, such as a road pavement performance indicator.
A character of road length name in data.
A data frame of a dataset.
A vector of length threshold.
# NOT RUN { testdata <- tsdwa[1:100,] testdata$Length <- testdata$SLK.end - testdata$SLK.start testdata <- cda(var = "Deflection", length = "Length", testdata) # }
Run the code above in your browser using DataLab