Nothing
#############################################################
#
# exponentialRate(....)
#
# Gets point estimate of evolutionary rate
# Vectorized <- No. this turns out to be much much slower
exponentialRate <- function(t1, p1, p2) {
tol <- 0.00001;
zero <- which(abs(p2) < tol);
ret <- numeric(length(t1));
ret[zero] <- p1[zero];
nonzero <- which(p2 < -tol | p2 > tol);
p1 <- p1[nonzero];
p2 <- p2[nonzero];
t1 <- t1[nonzero];
ret[nonzero] <- ( p1 * ((p2/abs(p2)) * (1 - exp(-abs(p2)*t1)) + 1) );
return(ret);
}
#exponentialRateV <- Vectorize(exponentialRate);
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.