star_si_col: A function to for scientific unit columns from the latex...

View source: R/star_cleaning_functions.R

star_si_colR Documentation

A function to for scientific unit columns from the latex siunitx package

Description

The latex siunitx package has to be loaded in the preamble. See this answer on tex stackexchange: http://tex.stackexchange.com/a/2747 This function is useful with paste0 when updating column to work siunitx and aligning decimals.

Usage

star_si_col(table.format, rep.times = 1)

Arguments

table.format

the latex siunitx. For example 3.2 is three integers and two decimals. table.format can be a string or numeric.

rep.times

the number of times to repeat the given column


ChandlerLutz/starpolishr documentation built on April 16, 2023, 8:55 a.m.