BestFit: Fit Mallows model N times and select most likely model. The...

Description Usage Arguments Value

View source: R/BestFit.R

Description

Fit Mallows model N times and select most likely model. The EM algorithm to fit Multi-Modal Mallows' models is prone to getting stuck in local maxima, so we run it several times and selec the best one.

Usage

1
  BestFit(datas, N, iter, G)

Arguments

N

number of times to run the model

iter

maximum number of iterations for each run

G

Number of cluster centers

datas

data set to fit

Value

best fitting model.


RMallow documentation built on Feb. 7, 2020, 9:06 a.m.