logit <- function(x) {
log(x) - log(1 - x)
}
logistic <- function(x) {
1 / (1 + exp(-x))
}
anti_phred <- function(x) {
10^(-x/10)
}
phred <- function(x) {
-10 * log10(x)
}
log_sum_exp <- function(x) {
x.max <- max(x);
log(sum(exp(x - x.max))) + x.max
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.