Description Usage Arguments Details Value Examples
View source: R/gather_intervals.R
Gather ggdist::point_interval
with .point, .lower and .upper columns.
1 2 3 4 5 6 7 | gather_intervals_rng(
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. Also
put the value in 3 columns: .point, .lower and .upper.
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 with 3 columns.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.