Nothing
sanitize_hypothesis <- function(hypothesis, ...) {
checkmate::assert(
checkmate::check_character(hypothesis, pattern = "="),
checkmate::check_choice(hypothesis, choices = c("pairwise", "reference", "sequential", "revpairwise", "revreference", "revsequential")),
checkmate::check_numeric(hypothesis),
checkmate::check_matrix(hypothesis),
checkmate::check_null(hypothesis))
hnull <- 0
if (isTRUE(checkmate::check_character(hypothesis, pattern = "="))) {
out <- paste(gsub("=", "-(", hypothesis), ")")
attr(out, "label") <- hypothesis
hypothesis <- out
} else if (isTRUE(checkmate::check_matrix(hypothesis))) {
attr(hypothesis, "label") <- colnames(hypothesis)
} else if (isTRUE(checkmate::check_numeric(hypothesis, len = 1))) {
hnull <- hypothesis
hypothesis <- NULL
}
out <- list(
"hypothesis" = hypothesis,
"hypothesis_null" = hnull
)
return(out)
}
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.