sigTests: Significance tests

sigTestsR Documentation

Significance tests

Description

Extracts the results of significance tests from a model.

Usage

## S4 method for signature 'SummaryLM'
sigTests(object, ...)

## S4 method for signature 'LM'
sigTests(object, ...)

Arguments

object

An object that inherits from LM or SummaryLM.

...

Further arguments passed to methods.

Value

The form of the value returned by sigTests() depends on the class of its argument.

Methods (by class)

  • sigTests(SummaryLM): Extracts a matrix with the results of significance tests.

  • sigTests(LM): Extracts a list with the optimization results of significance tests.

See Also

LM, SummaryLM, getOptim()

Examples

data("mtcars")
fit <- el_lm(mpg ~ ., data = mtcars)
sigTests(fit)
sigTests(summary(fit))

melt documentation built on May 31, 2023, 7:12 p.m.