Learn R Programming

limma (version 3.28.6)

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
  • bsssums of squares between the group means.
  • wsssums of squares within the groups.
  • bdfdegrees of freedom corresponding to bss.
  • wdfdegrees of freedom corresponding to wss.

Details

This is equivalent to one-way analysis of variance.

See Also

bwss.matrix