Skip to contents

Converts a numeric value to a string with the specified number of significant figures, including trailing zeros. Values smaller than threshold are displayed as "< threshold".

Usage

AS.signif(x, digits = 2, threshold = 0.001)

Arguments

x

A numeric value.

digits

Number of significant figures. Default = 2.

threshold

Lower bound below which values are displayed as "< threshold". Default = 0.001.

Value

A string representation of x.