Nothing
censored.mean <-
function(x, lower, trim = 0)
{
x.mean <- mean(x, trim = trim)
x.median <- median(x)
if (isTRUE(all.equal(x.median, lower))){
return(x.median)
} else{
return(x.mean)
}
}
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.