Skip to contents

This function rounds a numeric value to the specified number of decimal places and formats as a character. This adjusts for R's default "round to even" behavior.

Usage

roundx(x, digits = 1)

Arguments

x

vector of numeric values to be rounded

digits

number of decimal places

Value

character vector