R/imputed_mtcars.R

#' Imputed mtcars Dataset
#'
#' This dataset is a version of the `mtcars` dataset where random missing values
#' were introduced, and multiple imputation was performed using the `mice` package.
#'
#' @format A data frame with 160 rows and 13 variables
#' @details
#' Random missingness was introduced into 10% of the values in the original `mtcars` dataset.
#' Multiple imputation was then performed using the `mice` package with the following parameters:
#' \itemize{
#'   \item 5 multiple imputations (`m = 5`).
#'   \item 50 iterations per imputation (`maxit = 50`).
#'   \item Seed set to 123 for reproducibility.
#' }
#' The dataset included here is the first completed dataset resulting from the multiple imputation process.
#'
#' @examples
#' \donttest{
#' data(imputed_mtcars)
#' head(imputed_mtcars)
#' }
#' @source Original dataset from `datasets::mtcars`, with missing values introduced and imputed.
"imputed_mtcars"
sabainter/SSVS documentation built on April 17, 2025, 12:48 p.m.