#' Perform t-test and get p-value
#' @param x First data vector
#' @param y Second data vector
#' @export
ttest_pvalue <- function(x, y){
out <- t.test(x, y)
out$p.value
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.