R/data.R

#' Example data set
#'
#' A dataset containing a simulated non-probability (n_np = 2000)
#' and probability (n_p = 2000) sample.
#'
#' @format A data frame with 4000 rows and 11 variables:
#' \describe{
#'   \item{x1, x2, x3, x4, x5, x6, x7}{Covariates}
#'   \item{y}{Outcome}
#'   \item{wt}{Survey weights (= 1 for non-probability sample units)}
#'   \item{trt}{Sample membership indicator (numeric)}
#'   \item{trt_f}{Sample membership indicator (factor)}
#' }
"simu_dat"
chkern/KWML documentation built on Sept. 10, 2022, 9:49 p.m.