h_cpc: Test whether all CPC are identical

Description Usage Arguments References Examples

Description

Tests whether the matrices share CPC based on equation 2.18 (Flury, 1984). The null hypothesis is that all groups have the same PC.

Usage

1
  h_cpc(matList, n, B = new_cpc(matList, n))

Arguments

matList

list of matrices

n

numeric vector of sample sizes

B

CPC matrix

References

Flury, B.N. Common principal components in K groups. J.Amer.Statist.Assoc. 1984, 79, 892-898.

Examples

1
2
source("test_examples.R")
h_cpc(test_turtle,n_turtle)

bbolker/cpcbp documentation built on May 11, 2019, 9:28 p.m.