format_perc_api2lm {api2lm} | R Documentation |
Format percentages
Description
A recreation of the stats:::format.prec
function that is only available internally to the stats
package.
Usage
format_perc_api2lm(probs, digits)
Arguments
probs |
A vector of probabilities. |
digits |
a positive integer indicating how many significant digits
are to be used for
numeric and complex |
Value
A vector of percentages
See Also
Examples
format_perc_api2lm(c(0.523423, 0.9098192, 0.951289), digits = 1)
format_perc_api2lm(c(0.523423, 0.9098192, 0.951289), digits = 3)
[Package api2lm version 0.2 Index]