print.UPG.MNL: Print information for UPG.MNL objects

View source: R/PRINT.R

print.UPG.MNLR Documentation

Print information for UPG.MNL objects

Description

print provides some basic information about a UPG.MNL object.

Usage

## S3 method for class 'UPG.MNL'
print(x, ...)

Arguments

x

an object of class UPG.MNL.

...

other print parameters.

Author(s)

Gregor Zens

See Also

summary.UPG.MNL to summarize a UPG.MNL object and create tables. predict.UPG.MNL to predict probabilities using a UPG.MNL object. plot.UPG.MNL to plot a UPG.MNL object.

Examples


# estimate a multinomial logit model using example data
library(UPG)
data(program)
y = program[,1]
X = program[,-1]
results.mnl = UPG(y = y, X = X, model = "mnl")
print(results.mnl)


UPG documentation built on Nov. 4, 2023, 5:06 p.m.