CoDA_2Group_H3: CoDA Two Group Hypothesis 3

View source: R/CoDA_2Group_H3.R

CoDA_2Group_H3R Documentation

CoDA Two Group Hypothesis 3

Description

Performs the calculations for the hypothesis of equal centers with different covariance for two diferent samples, using Compositional Data Analysis (CoDA) principles.

Usage

CoDA_2Group_H3(comp1, comp2)

Arguments

comp1

A matrix or data frame of observations for composition 1. Entries must be non-zero and positive.

comp2

A matrix or data frame of observations for composition 2. Entries must be non-zero and positive.

Value

A tibble with the statistic (Q), degrees of freedom (nu), p-value, and null hypothesis (H0)

References

Pawlowsky-Hlahn, V., Egozcue, J.J & Tolosna-Delgado, R. (2015). Modeling and analysis of compositional data. John Wiley & Sons.

Aitchison, J. (1986). The statistical analysis of compositional data. Chapman and Hall.

Examples

data("Hongite", package = 'compositions')
data("Kongite", package = 'compositions')
CoDA_2Group_H3(Hongite,Kongite)


maxgav13/GMisc documentation built on June 12, 2022, 3:48 a.m.