getMaxNDecimalsData {inTextSummaryTable} | R Documentation |
Get maximum number of decimals in a variable based on the data
(getNDecimalsData
)
Description
Get maximum number of decimals in a variable based on the data
(getNDecimalsData
)
Usage
getMaxNDecimalsData(x)
Arguments
x |
Numeric vector. |
Value
Integer with maximum number of decimals in a character vector.
Author(s)
Laure Cougnaud x <- c(0.99, 5.679, 50.45, 1450) # extract max number of decimals based on data: getMaxNDecimalsData(x)
See Also
Other decimals:
formatPercentage()
,
getMaxNDecimals()
,
getNDecimals()
,
getNDecimalsData()
[Package inTextSummaryTable version 3.3.3 Index]