pgs <- function(bfile, weights, ...) {
#' @rdname pgs
#' @export
return(.pgs(weights=weights, bfile=bfile, ...))
}
#' This is to enable S3 parsing by the second argument
.pgs <- function(...) {
#' @rdname pgs
#' @export
UseMethod(".pgs")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.