doTest function

Apply a hypothesis test to a fitted model.

Apply a hypothesis test to a fitted model.

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

doTest(object, test, ...)

Arguments

  • object: an object to apply a statistical test to, usually a fitted model.
  • test: a test function, see tests .
  • ...: additional options.

Returns

a p-value with attributes describing the test.

  • Maintainer: Peter Green
  • License: GPL (>= 2)
  • Last published: 2023-04-13