RankInit-class {rankdist}R Documentation

RankInit Class

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.

clu

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

p.init

a numeric vector containing the initial values for cluster probabilities.

References

Qian Z, Yu L. H. P (2019) "Weighted Distance-Based Models for Ranking Data Using the R Package rankdist." Journal of Statistical Software, 90(5), 1-31. doi: 10.18637/jss.v090.i05

See Also

RankData, RankControl

Examples

c1init = new("RankInit",param.init=list(rep(1,4)),
     modal_ranking.init=list(c(2,3,4,1,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,p.init=c(0.5,0.5))

[Package rankdist version 1.1.4 Index]