RankInit-class: RankInit Class

Description Slots See Also Examples

Description

A S4 class to store initialization information of model fitting

The RankInit class is used to give initial values of model fitting procedures.

Slots

param.init

a list containing initial values of the positive parametrization of weights.

modal_ranking.init

a list containing starting points for the modal ranking search.

alpha.init

a vector containing initial values of the alpha parameter.

clu

an integer containing the number of clusters used in the model.

p.init

a numeric vector containing the initial values for cluster probabilities.

See Also

RankData, RankControl

Examples

1
2
3
4
c1init = new("RankInit",param.init=list(rep(1,4)),
     modal_ranking.init=list(c(2,3,4,1,5)), alpha.init = 0.5, clu=1L)
c2init = new("RankInit",param.init=list(rep(0.1,4),rep(0.1,4)),
     modal_ranking.init = list(c(2,3,4,1,5),c(2,5,1,4,3)),clu=2L, alpha.init = rep(0.5, 2),p.init=c(0.5,0.5))

simonfqy/rankdistext documentation built on May 29, 2019, 8:19 p.m.