Sha256: 6644323520ab47f10b3b04e9eae0f97a05dd9972be18c0ef1c1ae22d09c8c869

Contents?: true

Size: 136 Bytes

Versions: 106

Compression:

Stored size: 136 Bytes

Contents

dbenford <- function(x){
    log10(1 + 1/x)
}

pbenford <- function(q){
    cumprobs <- cumsum(dbenford(1:9))
    return(cumprobs[q])
}

Version data entries

106 entries across 104 versions & 9 rubygems

Version Path
rouge-3.8.0 lib/rouge/demos/r
rouge-3.7.0 lib/rouge/demos/r
rouge-3.6.0 lib/rouge/demos/r
rouge-3.5.1 lib/rouge/demos/r
rouge-3.5.0 lib/rouge/demos/r
rouge-3.4.1 lib/rouge/demos/r
rouge-3.4.0 lib/rouge/demos/r
rouge-alda-3.3.0 lib/rouge/demos/r
rouge-3.3.0 lib/rouge/demos/r
rouge-3.2.1 lib/rouge/demos/r
rouge-3.2.0 lib/rouge/demos/r
rouge-lines-3.2.3 lib/rouge-lines/demos/r
rouge_ecl-1.0.0 lib/rouge/demos/r
rouge_ecl-0.0.1 lib/rouge/demos/r
rouge-3.1.1 lib/rouge/demos/r
rouge-3.1.0 lib/rouge/demos/r
rouge-3.0.0 lib/rouge/demos/r
rouge-2.2.1 lib/rouge/demos/r
rouge-2.2.0 lib/rouge/demos/r
rougegal-2.1.2 lib/rouge/demos/r