Skip to contents

Extracts the degrees of freedom from a model.

Usage

# S4 method for EL
getDF(object)

# S4 method for ELMT
getDF(object)

# S4 method for ELT
getDF(object)

# S4 method for SummaryEL
getDF(object)

# S4 method for SummaryELMT
getDF(object)

# S4 method for SummaryLM
getDF(object)

Arguments

object

An object that contains the degrees of freedom.

Value

An integer vector.

Methods (by class)

  • getDF(EL): Extracts the degrees of freedom.

  • getDF(ELMT): Extracts the vector of marginal degrees of freedom.

  • getDF(ELT): Extracts the (chi-square) degrees of freedom.

  • getDF(SummaryEL): Extracts the degrees of freedom.

  • getDF(SummaryELMT): Extracts the vector of marginal degrees of freedom.

  • getDF(SummaryLM): Extracts the degrees of freedom.

See also

Examples

data("faithful")
fit <- el_mean(faithful, par = c(3.5, 70))
getDF(fit)
#> [1] 2