surprisal {wrappedtools} | R Documentation |
surprisal
takes p-values and returns s, a value representing the
number of consecutive heads on a fair coin, that would be as surprising
as the p-value
surprisal(p, precision = 1)
p |
a vector of p-values |
precision |
rounding level with default 1 |
a character vector of s-values