Learn R Programming

UPG (version 0.3.4)

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

Description

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

Usage

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

Arguments

x

an object of class UPG.MNL.

...

other print parameters.

Author

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

Run this code
# \donttest{
# 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)
# }

Run the code above in your browser using DataLab