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 ]

Try the xmlparsedata package in your browser

Any scripts or data that you put into this service are public.

xmlparsedata documentation built on March 6, 2021, 5:06 p.m.