ssto: Compute the Total Sum of Squares

View source: R/operations.R

sstoR Documentation

Compute the Total Sum of Squares

Description

Compute the Total Sum of Squares

Usage

ssto(X)

Arguments

X

Vector or matrix.

Details

Computes the sum of the squared distances of a vector or matrix's elements from its mean.

Value

Scalar representing the SSTO.

Examples

with(iris, ssto(cbind(Sepal.Width, Sepal.Length)))

ryan-heslin/RegLesson documentation built on Aug. 5, 2022, 9:03 p.m.