Learn R Programming

logitr (version 1.1.2)

glance.logitr: Glance a logitr class object

Description

Glance a logitr class object

Usage

# S3 method for logitr
glance(x, ...)

Value

A tibble of the model summary statistics.

Arguments

x

is an object of class logitr.

...

further arguments.

Examples

Run this code
library(logitr)

# Estimate a preference space model
mnl_pref <- logitr(
  data    = yogurt,
  outcome = "choice",
  obsID   = "obsID",
  pars    = c("price", "feat", "brand")
)

# Extract a tibble of the model summary statistics
glance(mnl_pref)

Run the code above in your browser using DataLab