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, ...)
Arguments
object
an object to apply a statistical test to, usually a fitted model.
test
a test function, see tests.
Value
a p-value with attributes describing the test.