ba.fit <- function(ladder, sample) {
fit <- with(ladder, lm(Time ~ log(Size)))$coefficients
with(sample, exp( (Time - fit[1]) / fit[2] ))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.