Learn R Programming

limma (version 3.28.14)

bwss: Between and within sums of squares

Description

Sums of squares between and within groups. Allows for missing values.

Usage

bwss(x,group)

Arguments

x
a numeric vector giving the responses.
group
a vector or factor giving the grouping variable.

Value

A list with components
bss
sums of squares between the group means.
wss
sums of squares within the groups.
bdf
degrees of freedom corresponding to bss.
wdf
degrees of freedom corresponding to wss.

Details

This is equivalent to one-way analysis of variance.

See Also

bwss.matrix