rename <- function(x, from, to) {
to[match(x, from)]
}
resample <- function(x, ...) x[sample.int(length(x), ...)]
sampleWithin <- function(group) {
tapply(seq_along(group), group, resample, 1)
}
.coordsColNames <- c("xcor", "ycor")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.