Nothing
load.sum <-
function(vec){
if (is.factor(vec)){
if(is.ordered(vec)){
return (median(vec))
} else {
return (names(sort(-table(vec)))[1])
}
} else {
return (mean(vec))
}
}
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.