R/pct.R

Defines functions pct

Documented in pct

#' pct transforms numbers between 0 and 1 in percentages.
#' @param x Double or Integer. Number to be properly formated.
#' @return Character. Formated number.
#' @export

pct <- function(x) format(x * 100, big.mark = ",", decimal.mark = ".", scientific = F, digits = 2, nsmall = 2)
NicolasJBM/writer documentation built on Aug. 12, 2019, 2:36 p.m.