ft_merge_colnames2header: colnames merge to header

Description Usage Arguments Value Examples

View source: R/ft_merge_colnames2header.R

Description

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.

Usage

1

Arguments

df

dataframe

sep

the separator

Value

flextable object

Examples

1
2
head(iris) %>%
ft_merge_colnames2header(., sep = "\\.")

jixing475/manuscriptsJX documentation built on April 20, 2020, 9:55 a.m.