Extracts the \(p\)-value from a model.

# S4 method for EL
pVal(object, ...)

# S4 method for ELMT
pVal(object, ...)

# S4 method for ELT
pVal(object, ...)

# S4 method for SummaryEL
pVal(object, ...)

# S4 method for SummaryELT
pVal(object, ...)

# S4 method for SummaryELMT
pVal(object, ...)

# S4 method for SummaryLM
pVal(object, ...)

Arguments

object

An object that contains the \(p\)-value.

...

Further arguments passed to methods.

Value

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

Methods (by class)

  • pVal(EL): Extracts the \(p\)-value.

  • pVal(ELMT): Extracts the multiplicity adjusted \(p\)-values.

  • pVal(ELT): Extracts the \(p\)-value.

  • pVal(SummaryEL): Extracts the \(p\)-value.

  • pVal(SummaryELT): Extracts the \(p\)-value.

  • pVal(SummaryELMT): Extracts the multiplicity adjusted \(p\)-values.

  • pVal(SummaryLM): Extracts the \(p\)-value.

See also

Examples

data("precip")
fit <- el_mean(precip, par = 40)
pVal(fit)
#> [1] 0.001601974