Learn R Programming

texreg (version 1.39.4)

extract,multinom-method: extract method for multinom objects

Description

extract method for multinom objects created by the multinom function in the nnet package.

Usage

# S4 method for multinom
extract(
  model,
  include.pvalues = TRUE,
  include.aic = TRUE,
  include.bic = TRUE,
  include.loglik = TRUE,
  include.deviance = TRUE,
  include.nobs = TRUE,
  include.groups = TRUE,
  levels = model$lev,
  beside = FALSE,
  ...
)

Arguments

model

A statistical model object.

include.pvalues

Report p-values?

include.aic

Report Akaike's Information Criterion (AIC) in the GOF block?

include.bic

Report the Bayesian Information Criterion (BIC) in the GOF block?

include.loglik

Report the log likelihood in the GOF block?

include.deviance

Report the deviance?

include.nobs

Report the number of observations in the GOF block?

include.groups

Report the number of groups?

levels

The names of the levels of a multinomial model that should be included in the table. Should be provided as a vector of character strings.

beside

Arrange the model terms below each other or beside each other?

...

Custom parameters, which are handed over to subroutines, in this case to the summary method for the object.