powered by
Finding the absolute sum of the differences called by segmentation.
segmentation
abssumdiff(x, na.rm = TRUE)
A single value data.
vector of numeric values
single logical should missing values be removed
tmp1 <- c(1,3,2,6,4,5,3,9,10) abssumdiff(x = tmp1)
Run the code above in your browser using DataLab