R/formatPercent.R

formatPercent <- function(x, digits = 1){
  paste(formatC(x * 100, digits = digits, format = "f"), "%", sep = "")
}

Try the biostatUZH package in your browser

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

biostatUZH documentation built on May 2, 2019, 6:06 p.m.