mists-plot.Rd
na_rle_spineplot()
is an alias of na_rle_spinoplot()
.
na_rle_rangeplot(data, x, y = NULL, ...) na_rle_spinoplot(data, x, y = NULL, facets = NULL, ...) # S3 method for rle_na autoplot(object, y = as.factor(1L), ...)
data | A data frame that contains |
---|---|
x, y | A bare variable contains |
... |
|
facets | A facetting variable. |
object | an object, whose class will determine the behaviour of autoplot |
x
: lengths of runs of missings.
width
: the number of missing observations in the run.
y
: Either 1 or the fraction of intersections with other variables.
if (!requireNamespace("nycflights13", quietly = TRUE)) { stop("Please install the nycflights13 package to run these following examples.") } library(dplyr, warn.conflicts = FALSE) na_runs_wind <- nycflights13::weather %>% group_by(origin) %>% summarise_at(vars(contains("wind")), ~ list_of_na_rle(., time_hour)) na_runs_wind %>% na_rle_rangeplot(wind_dir, origin)na_runs_wind %>% na_rle_spinoplot(x = wind_dir, facets = origin)na_runs_wind %>% na_rle_spinoplot(x = wind_dir, y = wind_gust, facets = origin)