#' @export # calculate F statistic for a genetic variant Fstat <- function(R2 = R2, n = NULL, k = 1){ out <- (R2*(n - 1 - k))/((1 - R2)*k) return(out) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.