xgroup <- function(d, cols=NULL) {
key <- paste(paste("(",paste(cols,collapse=","), ")", sep=""),
"!", paste("(", apply(d[, cols,FALSE], 1, paste, collapse=","), ")", sep=""))
by(d, key, function(x) x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.