R/tpm.R

Defines functions tpm

tpm = function(m, bulk = F) {
    m = as.matrix(m)
    if (bulk) x = 1
    else x = 10
    x * (2^(m) - 1)
}
jlaffy/scrabble documentation built on Nov. 16, 2019, 7:56 a.m.