Learn R Programming

melt (version 1.11.3)

getDF: Degrees of freedom

Description

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)

Value

An integer vector.

Arguments

object

An object that contains the degrees of freedom.

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

EL, ELMT, ELT

Examples

Run this code
data("faithful")
fit <- el_mean(faithful, par = c(3.5, 70))
getDF(fit)

Run the code above in your browser using DataLab