Xmcupo.effectsize function

Effect Size for Xmcupo Statistic

Effect Size for Xmcupo Statistic

This function computes the Cramer's Phi and Modified Cramer's Phi Criterion for the test statistic Xmcupo.sevsample.

Xmcupo.effectsize(group.data)

Arguments

  • group.data: A list where each element is a matrix of taxonomic counts(columns) for each sample(rows).

Details

Note: The matrices in group.data must contain the same taxa, in the same order.

Returns

A vector containing the Chi-Squared statistic value, the Cramer's Phi Criterion, and the modified Cramer's Phi Criterion.

Examples

data(saliva) data(throat) ### Combine the data sets into a single list group.data <- list(saliva, throat) effect <- Xmcupo.effectsize(group.data) effect
  • Maintainer: Berkley Shands
  • License: Apache License (== 2.0)
  • Last published: 2019-08-31

Useful links