SumOfSquaresByGroup: SumOfSquares

View source: R/sumofsquares.R

SumOfSquaresByGroupR Documentation

SumOfSquares

Description

Computes the weighted sum of squares of one or more variables

Usage

SumOfSquaresByGroup(x, group, weights = NULL)

Arguments

x

A data.frame or matrix.

group

A variable indicating group membership. Either a factor or coerced to a factor.

weights

The sampling or replication weights.


NumbersInternational/flipStatistics documentation built on May 13, 2024, 1:26 a.m.