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.


Displayr/flipStatistics documentation built on April 12, 2024, 4:15 a.m.