Description Usage Arguments Value Examples
View source: R/ft_merge_colnames2header.R
this function is use to merge the dataframe colname the same element as head. first, i seprate the colnames with sep as dataframe typology. them I use flextable function to merge the same element.
1 | ft_merge_colnames2header(df, sep = "\\.")
|
df |
dataframe |
sep |
the separator |
flextable object
1 2 | head(iris) %>%
ft_merge_colnames2header(., sep = "\\.")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.