SS: Calculate the sum of squares.

Description Usage Arguments Author(s) Examples

View source: R/SS.R

Description

Calculate the sum of squares.

Usage

1
SS(x)

Arguments

x

Author(s)

Joost van de Weijer

Examples

1
2
3
4
5
6
7
8
9
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
    sum((x - mean(x))^2)
  }

vdweijer/supply documentation built on June 28, 2021, 7:45 a.m.