View source: R/header_separate.R
header_separate | R Documentation |
When you create a summary table for either model or basic
summary stats in R, you usually end up having column names in the form of
"a_mean", "a_sd", "b_mean" and "b_sd". This function streamlines the process
of renaming these column names and adding extra header rows using
add_header_above
.
header_separate(kable_input, sep = "[^[:alnum:]]+", ...)
kable_input |
Output of |
sep |
A regular expression separator between groups. The default value is a regular expression that matches any sequence of non-alphanumeric values. |
... |
Additional parameters passed to do.call. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.