R/data-binary-data.R

#' A small toy dataset of binary data with missings.
#'
#' A dataset containing binary values and missing values. It is created to
#'   illustrate the usage of [vis_binary()].
#'
#' @format A data frame with 100 rows and 3 variables:
#' \describe{
#'   \item{x}{a binary variable with missing values.}
#'   \item{y}{a binary variable with missing values.}
#'   \item{z}{a binary variable with **no** missing values.}
#' }
#'
"dat_bin"
ropensci/visdat documentation built on June 5, 2023, 11:45 p.m.