Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getCoefTable

Get the coefficient summary table as a data frame


Description

Returns a data frame of the coefficient summary table of a model estimated using the logitr() function.

Usage

getCoefTable(object)

Arguments

object

The output of a model estimated model using the logitr() function.

Value

Returns a data frame of the coefficient summary table of a model estimated using the logitr() function.

Examples

library(logitr)

# Run a MNL model in the preference space
mnl_pref <- logitr(
  data = yogurt,
  choiceName = "choice",
  obsIDName = "obsID",
  parNames = c("price", "feat", "dannon", "hiland", "yoplait")
)

# Get the coefficient summary table as a data frame
getCoefTable(mnl_pref)

logitr

Logit Models w/Preference & WTP Space Utility Parameterizations

v0.1.0
MIT + file LICENSE
Authors
John Helveston [aut, cre, cph] (<https://orcid.org/0000-0002-2657-9191>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.