Nothing
getpval <- function (statvec, verbose = TRUE){
statlen <- length(statvec)
if (verbose){
cat("Observed bootstrap is ", round(statvec[1],3), "\n")
}
p <- (1+sum(statvec[1] <= statvec[2:statlen]))/statlen
if (verbose) {
cat("p-value is ", p, "\n")
}
return(p)
}
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.