Nothing
dummy <- function(f,simplify=TRUE) {
f <- droplevels(factor(f))
mat <- I(model.matrix(~x-1,data=data.frame(x=f)))
if (simplify) {
res <- as.matrix(mat[,-ncol(mat)],nrow=length(f))
colnames(res) <- levels(f)[-nlevels(f)]
} else {
res <- as.matrix(mat[,1:ncol(mat)],nrow=length(f))
colnames(res) <- levels(f)
}
return(res)
}
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.