Learn R Programming

UPG (version 0.2.2)

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

Description

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

Usage

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

Arguments

x

an object of class UPG.Binomial.

...

other print parameters.

See Also

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

Examples

Run this code
# NOT RUN {
# estimate a binomial logit model using example data
library(UPG)
data(titanic)
y  = titanic[,1]
Ni = titanic[,2]
X  = titanic[,-c(1,2)]
results.binomial = UPG(y = y, X = X, Ni = Ni, type = "binomial")
print(results.binomial)
# }

Run the code above in your browser using DataLab