constants_to_tex: constants_to_tex

View source: R/constants_to_tex.R

constants_to_texR Documentation

constants_to_tex

Description

constants_to_tex

Usage

constants_to_tex(my_list, n_digits = 4L,
  path = "~/MSc/Writing/Report/auto_tbl_fig/",
  file_name = "constants_to_tex", verbose = FALSE)

Arguments

my_list

list with key and values

n_digits

The number of digits in text. Default is 4 for numeric values.

path

directory to the .tex file.

file_name

name of the .tex file.

verbose

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

Value

saved file/string with multiple '"\def\key..."'

Examples

## Not run: 
  #
  my_list <- list("keyone" ="test12456-12.2",
                  "keytwo"="10.1")

## End(Not run)

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