Learn R Programming

SingleCellAssay (version 0.80)

test.zlm: Likelihood ratio test for hurdle model

Description

Do LR test separately on continuous and discrete portions Combine for testing hypothesis.matrix

Usage

test.zlm(model, hypothesis.matrix, type = "Wald", silent = TRUE, ...)

Arguments

model

output from zlm

hypothesis.matrix

argument passed to lht, or string naming a single variable to be dropped from the model, or a formula that is a subset of 'model'

type

Test using Wald test or Likelihood Ratio test

silent

Silence common errors in testing

Value

array containing the discrete, continuous and combined tests

Details

It tests the provided hypothesis.matrix using a Chi-Squared Wald or LRT test

See Also

zlm