R/data.R

#Document datasets
#' Phenotype, Environmental Exposure, and G in dominant form
#'
#' A dataset containing Y,E, and G on 1000 individuals
#'
#' @format A data frame with 1000 rows and 3 variables:
#' \describe{
#'   \item{Y}{Phenotype,binary}
#'   \item{E}{Environmental factor, binary}
#'   \item{G}{Genetic factor, binary}
#'   ...
#' }
"Sample"

#' Covariates
#'
#' A dataset containing Covariate 1,Covariate 2, and Covariate 3 on 1000 individuals
#'
#' @format A data frame with 1000 rows and 3 variables:
#' \describe{
#'   \item{Covariate 1}{Covariate,binary}
#'   \item{Covariate 2}{Covariate, binary}
#'   \item{Covariate 3}{Covariate, binary}
#'   ...
#' }
"Covariates"
#' @export
LilithMoss/bma.gxe documentation built on May 28, 2019, 1:32 p.m.