ggmice: Plot incomplete or imputed data

View source: R/ggmice.R

ggmiceR Documentation

Plot incomplete or imputed data

Description

Plot incomplete or imputed data

Usage

ggmice(data = NULL, mapping = ggplot2::aes())

Arguments

data

An incomplete dataset (of class data.frame), or an object of class mice::mids.

mapping

A list of aesthetic mappings created with ggplot2::aes().

Value

An object of class ggplot2::ggplot.

See Also

See the ggmice vignette to use the ggmice() function on incomplete data or imputed data.

Examples

dat <- mice::nhanes
ggmice(dat, ggplot2::aes(x = age, y = bmi)) + ggplot2::geom_point()

ggmice documentation built on Aug. 7, 2023, 5:09 p.m.