lrt: Compute LRT for rate models

Description Arguments Value

Description

Performs a likelihood ratio test for two models

Arguments

h0

rateModel object that represents the null hypothesis

hA

rateModel object that represents the alternative hypothesis (more complex model)

Value

a data table including D-statistic, the p-value, and the degrees of freedom


ndukler/phyloGLM documentation built on Sept. 25, 2019, 9:17 p.m.