format_n.ade: Format a number

View source: R/format_n.ade.R

format_n.adeR Documentation

Format a number

Description

Format an R object for pretty printing.

Usage

format_n.ade(x, digits=2, scientific=FALSE)

Arguments

x
  • a numeric value

  • a vector of numeric values

  • a matrix of numeric values

digits

how many significant digits are to be shown

scientific

a logical specifying whether the number should be encoded in scientific format

Value

An object of similar structure to x containing character representations of the elements of x in a common format

See Also

format_p.ade

Examples

format_n.ade((1:10)/100)

epade documentation built on Oct. 29, 2022, 1:14 a.m.