Nothing
modlevene.test<-function(y, x){
medians<-sapply(split(y,x),median,na.rm=TRUE)
resid.y<-abs(y-medians[x])
res<-list()
res<-anova(lm(resid.y~x))
class(res) <- "mltest"
res}
print.mltest <- function(x, ...){
df1 <- paste("df1 =", x$"Df"[1])
df2 <- paste("df2 =", x$"Df"[2])
F <- paste("F =", round(x$"F value"[1], 5))
P <- paste("p-value =", round(x$"Pr(>F)"[1], 5))
out <- paste(df1, df2, F, P, sep = ", ")
cat("\n")
cat("Modified Levene's test of homogeneity of variances","\n")
cat("\n")
cat(out)
invisible(x)
}
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.