plot_missingness: Plot missingness

View source: R/plot_missingness.R

plot_missingnessR Documentation

Plot missingness

Description

Plot missingness

Usage

plot_missingness(
  minute_data,
  calendar_time = TRUE,
  type = c("stacked", "raster")
)

Arguments

minute_data

a fitibble

calendar_time

Default is TRUE. If set to FALSE then date values in the x axis are replaced by a numerical index.

type

Either stacked or raster. The representation of the number of minutes can be stacked or in raster format.

Value

A time line showing the number of minutes with missing values in a day. Minutes are either missing HR, missing steps, missing HR and steps or no missing

Examples

## Not run: 
plot_missingness(minute_data, type = "stacked")
plot_missingness(minute_data, type = "raster")
## End(Not run)

audiracmichelle/fitibble documentation built on Feb. 2, 2023, 3:51 p.m.