Nothing
#' @noRd
#' @importFrom stats pnorm
p_val <- function(Coef, SE, beta_test) {
# this functions calculates the two-sided p-values.
diff_norm <- abs(Coef - beta_test) / SE
p_val <- 2 * pnorm(diff_norm, lower.tail = FALSE)
return(p_val)
}
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.