schema | R Documentation |
Create schema diagrams for number_line
, epid
, pid
and pane
objects.
schema(x, ...)
## S3 method for class 'number_line'
schema(x, show_labels = c("date", "case_overlap_methods"), ...)
## S3 method for class 'epid'
schema(
x,
title = NULL,
show_labels = c("length_arrow"),
show_skipped = TRUE,
show_non_finite = FALSE,
theme = "dark",
seed = NULL,
custom_label = NULL,
...
)
## S3 method for class 'pane'
schema(
x,
title = NULL,
show_labels = c("window_label"),
theme = "dark",
seed = NULL,
custom_label = NULL,
...
)
## S3 method for class 'pid'
schema(
x,
title = NULL,
show_labels = TRUE,
theme = "dark",
orientation = "by_pid",
seed = NULL,
custom_label = NULL,
...
)
x |
|
... |
Other arguments. |
show_labels |
|
title |
|
show_skipped |
|
show_non_finite |
|
theme |
|
seed |
|
custom_label |
|
orientation |
|
A visual aid to describe the data linkage (links
), episode tracking (episodes
) or partitioning process (partitions
).
show_labels
options (multi-select)
schema.epid - TRUE, FALSE, "sn", "epid", "date", "case_nm", "wind_nm", "length", "length_arrow", "case_overlap_methods" or "recurrence_overlap_methods"
schema.pane - TRUE, FALSE, "sn", "pane", "date", "case_nm" or "window_label"
schema.pid - TRUE, FALSE, "sn" or "pid"
ggplot
objects
schema(number_line(c(1, 2), c(2, 1)))
schema(episodes(1:10, 2))
schema(partitions(1:10, by = 2, separate = TRUE))
schema(links(list(c(1, 1, NA, NA), c(NA, 1, 1, NA))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.