specify_decimal {petersenlab} | R Documentation |
Specify Decimals.
Description
Specify the number of decimals to print.
Usage
specify_decimal(x, k)
Arguments
x |
Numeric vector. |
k |
Number of decimals to print. |
Details
[INSERT].
Value
Character vector of numbers with the specified number of decimal places.
Examples
# Prepare Data
v1 <- rnorm(1000)
# Specify Decimals
specify_decimal(v1, 2)
[Package petersenlab version 1.0.0 Index]