print.mpPLMIX: Print of the MAP estimation algorithm for a Bayesian mixture...

Description Usage Arguments Author(s) See Also Examples

View source: R/PLMIXfunctions.R

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

1
2
## S3 method for class '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).

Author(s)

Cristina Mollica and Luca Tardella

See Also

mapPLMIX and mapPLMIX_multistart

Examples

1
2
3
4
5
6
7
8
## 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)

PLMIX documentation built on Sept. 4, 2019, 5:03 p.m.