Description Usage Arguments Value
View source: R/extract_table.R
split a large table in one direction if there are blank columns or rows
1 | du_split_direction(df, direction = "col", split_index = FALSE)
|
df |
a data frame |
direction |
"col" or "row", the direction to split the data frame |
split_index |
whether to return the index where the split is made |
If split_index is TRUE
, returns a list of data frame.
If split_index is FALSE
, returns a list of two elements, the first element
df
contains a list of split data frames, the second element split_index
is the index where the split is performed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.