SS {CPC} | R Documentation |
Sum-of-Squares Calculation
Description
Calculates sums of squares for uni- or multi-dimensional numeric data using the distance matrix.
Usage
SS(data, ...)
Arguments
data |
a numeric vector or |
... |
arguments passed to |
Value
Returns a numeric vector of length 1.
Examples
data <- matrix(c(rnorm(50, 0, 1), rnorm(50, 5, 1)), ncol = 2, byrow = TRUE)
SS(data)
[Package CPC version 2.6.0 Index]