Description Usage Arguments Spinoplot Examples
na_rle_spineplot()
is an alias of na_rle_spinoplot()
.
1 2 3 4 5 6 |
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.