Nothing
contr.diff <-
function(n)
{
if (is.numeric(n) && length(n) == 1)
levs <- 1:n
else {
levs <- n
n <- length(n)
}
contr <- array(0, c(n, n), list(levs, levs))
contr[col(contr) == row(contr)] <- 1
contr[row(contr) - col(contr) == 1] <- -1
if (n < 2) stop(paste("Contrasts not defined for", n - 1, "degrees of freedom"))
contr
}
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.