Learn R Programming

epade (version 0.2.2)

format_n.ade: 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

Value

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

item

  • digits
  • scientific

See Also

format_p.ade

Examples

Run this code
format_n.ade((1:10)/100)

Run the code above in your browser using DataLab