percent0: Format a Numeric as a String Percentage This function formats...

Description Usage

View source: R/results_generation.R

Description

Format a Numeric as a String Percentage This function formats a decimal number into a string percentage with a specific number of decimal places and with a " The function uses formatC from the R base package and defaults to formatting the number with 1 digit and with the "f" format in the formatC argument. This function is originally from the StackOverflow post: http://stackoverflow.com/questions/12688717/round-up-from-5-in-r

Usage

1
percent0(x, digits = 1, format = "f", ...)

ctesta01/qualtrics-R-package documentation built on May 14, 2019, 12:28 p.m.