R/utils.R

Defines functions spaces

spaces_const <- sapply(1:41-1, function(x) paste(rep(" ", x), collapse = ""))

spaces <- function(x) spaces_const[ pmin(x, 40) + 1 ]
MangoTheCat/xmlparsedata documentation built on May 7, 2019, 2:25 p.m.