scoreDictionnary2probabilityVector | R Documentation |
Get extremes scores, then create a complete list and set a probability equal to zeros for not present scores
scoreDictionnary2probabilityVector(list, score_extremes)
list |
vector of scores |
score_extremes |
vector of probability |
vector containing all score values between extremes and the probability equal to 0 for missing score
Mylist=list("x1"=c(-2,0.1),"x2"=c(0,0.7),"x3"=c(1,0.2))
scoreDictionnary2probabilityVector(list=Mylist,score_extremes=c(-2,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.