simr (version 1.0.7)

doTest: Apply a hypothesis test to a fitted model.

Description

This is normally an internal function, but it can be overloaded to extend simr to other packages.

Usage

doTest(object, test, ...)

Value

a p-value with attributes describing the test.

Arguments

object

an object to apply a statistical test to, usually a fitted model.

test

a test function, see tests.

...

additional options.