R/pgs.R

Defines functions .pgs pgs

Documented in pgs .pgs

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")
}
yingxi-kaylee/ssCTPR documentation built on Nov. 14, 2021, 5:24 a.m.