sumsq: return sum of squares wrt to mean or supplied value

Description Usage Arguments Details

Description

sumsq(x, mean = TRUE, ref = NULL)

Usage

1
sumsq(x, ref = NULL)

Arguments

x

a vector of numeric values

ref

if supplied, differences calculated relative to this instead of mean.

Details

returns the sum of squared differences between the mean and all values in a supplied vector. A value other than the mean can be used.


helophilus/ColsTools documentation built on May 30, 2019, 4:03 p.m.