Learn R Programming

UPG (version 0.2.2)

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

Description

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

Usage

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

Arguments

x

an object of class UPG.MNL.

...

other print parameters.

See Also

summary.UPG.MNL to summarize the estimates of a discrete choice model from an UPG.MNL object and create tables. predict.UPG.MNL to predict probabilities from a discrete choice model from an UPG.Logit object. plot.UPG.MNL to plot the results of a discrete choice model from an UPG.MNL object.

Examples

Run this code
# NOT RUN {
# 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, type = "mnl")
print(results.mnl)
# }

Run the code above in your browser using DataLab