#' Functions to get p-value from ANOVA
#' @description Functions to get p-value from ANOVA, used by createNiceTable()
printAOVPVal <- function(fmla, data) {
fit <- aov(fmla, data=data)
pv <- summary(fit)[[1]][["Pr(>F)"]][1]
printPVal(pv)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.