specify_decimal: Specify Decimals.

View source: R/specifyDecimals.R

specify_decimalR 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.

See Also

Other formatting: apa(), pValue(), suppressLeadingZero()

Examples

# Prepare Data
v1 <- rnorm(1000)

# Specify Decimals
specify_decimal(v1, 2)

petersenlab documentation built on April 4, 2025, 12:22 a.m.