compSumSq: Compute sum of squares

Description Usage Arguments Value

View source: R/anova.R

Description

compSumSq computes sum of squares which are needed by compF and permPvalues.

Usage

1
compSumSq(obj, new_indices = NULL)

Arguments

obj

a list object as returned by preAnova

new_indices

if not NULL (default), it must be a vector of numeric indices to be passed to the model matrix. This parameter is used for permutation-based analyses.

Value

a numeric matrix of the sum-of-squares with an extra attribute for the degrees of freedom ('Df'), or a list of such matrices


tdeenes/eegR documentation built on April 19, 2021, 4:17 p.m.