boxplot_to_tex: df_to_table

View source: R/boxplot_to_tex.R

boxplot_to_texR Documentation

df_to_table

Description

df_to_table

Usage

boxplot_to_tex(x, x_idx, path, file_name, verbose = FALSE)

Arguments

path

directory to the .tex file.

file_name

name of the .tex file.

verbose

default 'FALSE'. Set to 'TRUE' for printing the string.

df

data frame or tibble

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.

model_name

Model name for CM.

norm_cm

is CM normalized?

Value

saved file/string with a default tabular table.

Examples

## 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)

anderslaunerbaek/homemade documentation built on Sept. 18, 2022, 6:47 a.m.