Learn R Programming

simr (version 1.0.0)

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 statistcal test to, usually a fitted model.
test
a test function, see tests.
...
additional options.

Value

  • a p-value with attributes describing the test.