abssumdiff: Finding the absolute sum of the differences

View source: R/statistics.R

abssumdiffR Documentation

Finding the absolute sum of the differences

Description

Finding the absolute sum of the differences called by segmentation.

Usage

abssumdiff(x, na.rm = TRUE)

Arguments

x

vector of numeric values

na.rm

single logical should missing values be removed

Value

A single value data.

Examples

   tmp1 <- c(1,3,2,6,4,5,3,9,10)
   abssumdiff(x = tmp1)

GENEAclassify documentation built on June 22, 2024, 11:47 a.m.