Description Usage Arguments Details Value Examples
View source: R/gather_intervals.R
Gather ggdist::point_interval
summaries (i.e. long format).
1 2 3 4 5 6 7 | gather_intervals(
data,
incl = c(".width", ".point", ".interval"),
excl = "^.+__",
fun = ggdist::mode_qi,
...
)
|
data |
|
incl |
Summary variables to include in output. |
excl |
Regex pattern to exclude variables from output. Usually to exclude "*__" variables such as "lp__". |
fun |
|
... |
Extra arguments used by |
Take a summary from ggdist::point_interval
and put it in long format
with columns .variable
and .code.value. Grouped variables will
be kept just as the tidybayes::gather_variables()
does it.
This function mimics the behavior of tidybayes::gather_variables()
.
The code is actually pretty much the same. See @R-tidybayes.
☻
Point and interval summary in long format.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.