TBWvariance: Total, within- and between-group variances

Description Usage Arguments Value References See Also Examples

View source: R/TBWvariance.R

Description

Calculation of total, within- and between-group variance-covariance matrices

Usage

1
TBWvariance(Data, Group)

Arguments

Data

a numeric matrix or data frame

Group

a vector of factors associated with group structure

Value

list with the following results:

Within.Var

within-group variance-covariance matrix

Between.Var

between-group variance-covariance matrix

Total.Var

total variance-covariance matrix

Btween.per

Within-group variance percentage

Btween.per

Between-group variance percentage

References

A. Eslami, E. M. Qannari, A. Kohler and S. Bougeard (2013). General overview of methods of analysis of multi-group datasets, Revue des Nouvelles Technologies de l'Information, 25, 108-123.

See Also

mgPCA, DGPA, DCCSWA, DSTATIS, BGC, summarize, iris

Examples

1
2
3
Data = iris[,-5]
Group = iris[,5]
res = TBWvariance(Data, Group)

Example output



multigroup documentation built on March 26, 2020, 5:50 p.m.