Nothing
#' @name outlier
#' @title Outlier
#' @param x input data frame
#' @keywords internal
## Hardcoding for column order should be removed from these
outlier <- function(x)
{
outputmatrix <- matrix(nrow=ncol(x)-1, ncol=2)
outputmatrix[1,1] <- "Response Metric"
outputmatrix[1,2] <- "Outlier P-value"
iterations <- ncol(x)-2
for (i in 1:iterations)
{
lm <- stats::lm(x[,i+2] ~ x[,2], data=x)
outputmatrix[i+1,1] <- colnames(x[i+2])
outputmatrix[i+1,2] <- car::outlierTest(lm)$bonf.p[1]
}
return(outputmatrix)
}
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.