SSQ function

A support function that calculates the sum of squares of a data vector.

A support function that calculates the sum of squares of a data vector.

The sum of squares of the input vector is returned.

SSQ(x)

Arguments

  • x: a vector of numbers without missing values

Returns

the sum of squares of x

Author(s)

Robert van Hulst

Examples

SSQ(x = rnorm(n=100))
  • Maintainer: Robert van Hulst
  • License: GPL (>= 2)
  • Last published: 2018-05-15

Useful links