Learn R Programming

evidence (version 0.8.10)

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

Description

The sum of squares of the input vector is returned.

Usage

SSQ(x)

Arguments

x

a vector of numbers without missing values

Value

the sum of squares of x

Examples

Run this code
# NOT RUN {
SSQ(x = rnorm(n=100))
# }

Run the code above in your browser using DataLab