Learn R Programming

PLMIX (version 2.1.1)

print.mpPLMIX: Print of the MAP estimation algorithm for a Bayesian mixture of Plackett-Luce models

Description

print method for class mpPLMIX. It shows some general information on the MAP estimation procedure for a Bayesian mixture of Plackett-Luce models.

Usage

# S3 method for mpPLMIX
print(x, ...)

Arguments

x

Object of class mpPLMIX returned by the mapPLMIX or mapPLMIX_multistart function.

...

Further arguments passed to or from other methods (not used).

See Also

mapPLMIX and mapPLMIX_multistart

Examples

Run this code
# NOT RUN {
## Print of the MAP procedure with a single starting point
data(d_carconf)
MAP <- mapPLMIX(pi_inv=d_carconf, K=ncol(d_carconf), G=3)
print(MAP)

## Print of the MAP procedure with 5 starting points
MAP_multi <- mapPLMIX_multistart(pi_inv=d_carconf, K=ncol(d_carconf), G=3, n_start=5)
print(MAP_multi)
# }

Run the code above in your browser using DataLab