quartetStarTest: Hypothesis test for quartet counts fitting a star tree under...

View source: R/StarQuartetHypTest.R

quartetStarTestR Documentation

Hypothesis test for quartet counts fitting a star tree under the MSC

Description

Perform hypothesis test for star tree for a vector of quartet counts to fit expected frequencies of (1/3,1/3,1/3). The test performed is a standard Chi-square with 2 degrees of freedom.

Usage

quartetStarTest(obs)

Arguments

obs

vector of 3 counts of resolved quartet frequencies

Value

p-value

Examples

obs=c(16,72,12)
quartetStarTest(obs)


MSCquartets documentation built on Oct. 31, 2024, 1:08 a.m.