scoreDictionnary2probabilityVector {localScore} | R Documentation |
Check for missing scores values in the score distribution
Description
Get extremes scores, then create a complete list and set a probability equal to zeros for not present scores
Usage
scoreDictionnary2probabilityVector(list, score_extremes)
Arguments
list |
vector of scores |
score_extremes |
vector of probability |
Value
vector containing all score values between extremes and the probability equal to 0 for missing score
Examples
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))
[Package localScore version 1.0.11 Index]