Description Usage Arguments Details Value
Make a tibble with columns representing a range.
All column will have the same base name, and will follow the format of 'text[col_idx]'
, indexed from 1 to ncol(x.samples)
.
1 | make_tbl_variable_range(x.samples, text, ...)
|
x.samples |
a matrix or data.frame which will be converted and re-named to a tibble |
text |
the base name for the new column names |
... |
additional value-name pairs which will be added as new columns ( |
It can be used to convert messy rstan::extract
output from multidimensional variables, to a more manageable form.
a tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.