StatByGroup: Summarize invariance matrices by group

Description Usage Arguments Details Value

View source: R/StatByGroup.R

Description

StatByGroup applies a descriptive statistic over the rows of each invariance matrix in a list and returns this as a list of named vectors.

Usage

1
StatByGroup(matrix.list, stat.function)

Arguments

matrix.list

A list of invariance matrices from InvarianceMatrices

stat.function

The function to apply over rows

Details

This function can be used to indicate how invariant each group was with the other groups, in general (e.g., by setting stat.function = median.

Value

Thus function returns a list of named vectors. Each vector contains 1 element for each group.


sethmargolis/PairMeasInv documentation built on Nov. 23, 2018, 12:24 a.m.