View source: R/slice_df_by_nrow.R
slice_df_by_nrow | R Documentation |
This function is slicing data frame by declarated number of rows and saving output 3 different declarative ways.
slice_df_by_nrow(df, nrows = 100, to_file = "no", v_name = NULL)
df |
Data frame |
nrows |
Number of rows which each segment have to had (except last which contains reminders). Default 100. |
to_file |
Information if output should be written to csv, xlsx or pushed back as list of dataframes |
name |
Name of output file |
xlsx file/csv files/list of dfs in env
slice_df_by_nrow(df, nrows = 190, to_file = "no", v_name = "test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.