Nothing
makeContrasts <- function(factors,
quali,
quanti,
posquanti)
{
if(quali){#only quantitatives
contrast <- lapply(factors,
function(x)diag(length(x)))
} else if(quanti){#only quantitatives
contrast <- lapply(factors,
function(x)contr.poly(length(x)))
} else {#hybrido
contrast <- lapply(factors,
function(x)diag(length(x)))
contrast[posquanti] <- lapply(factors[posquanti],
function(x)contr.poly(length(x)))
}
return(contrast)
}
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.