df_to_table | R Documentation |
df_to_table
df_to_table(df, path = "~/MSc/Writing/Report/auto_tbl_fig/", file_name, v_lines = NULL, h_lines = c(1), case = 1, n_digits = 4, verbose = FALSE, model_name = NULL, norm_cm = FALSE)
df |
data frame or tibble |
path |
directory to the .tex file. |
file_name |
name of the .tex file. |
v_lines |
vertical lines in table. |
h_lines |
horizontial lines in table. |
case |
correspond to different types of tables. |
n_digits |
The number of digits in the table. Default is 4 for numeric columns. |
verbose |
default 'FALSE'. Set to 'TRUE' for printing the string. |
model_name |
Model name for CM. |
norm_cm |
is CM normalized? |
saved file/string with a default tabular table.
## Not run: library(tidyverse) df <- iris %>% group_by(Species) %>% summarise_all(funs(mean)) df_to_table(df, path = "~/Downloads/", file_name = "test", v_lines = NULL, h_lines = c(1), case = 1, verbose = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.