setattributes: Attach dimension and label attributes to test statistics

Description Usage Arguments

View source: R/utilities.R

Description

Used internally in the workhorse functions for arrayAnova, arrayTtest, etc. to set the dimension, dimension names and nice label of the given test statistic

Usage

1
setattributes(x, obj = NULL, label = NULL, dimorder = NULL)

Arguments

x

the vector or matrix of the test statistic

obj

if not NULL (default), a list object returned by preTtest or preAnova

label

if not NULL (default), a character string with a verbose description of the test statistic (e.g. "Traditional F-value", "Welch t", "Generalized Eta Squared", etc.)

dimorder

if not NULL (default), a numeric or character vector indicating the order (or subset) of the dimensions


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