init.p | R Documentation |
Initialization method for probabilities
init.p(topK, n, k, init.m = "p", init.w = 0)
topK |
A list of input lists, with items coded from 1 to |
n |
Total number of items |
k |
Length of target list |
init.m |
Initialization method, "p" point mass, "s" smooth, "cp" point mass using composite ranks, "cs" smooth using composite ranks |
init.w |
initialization weight |
A probability matrix
Jie Ding <jding@jimmy.harvard.edu>
Lin, S., Ding, J. (2009) Integration of Ranked Lists via Cross Entropy Monte Carlo with Applications to mRNA and microRNA Studies. Biometrics 65, 9-18.
set.seed(1234) rank.pool <- 1:10 a <- sample(rank.pool, 10) b <- sample(rank.pool, 10) c <- sample(rank.pool, 10) rlist <- list(a, b, c) init.p(rlist, length(unique(unlist(rlist))), 5, "cp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.