Learn R Programming

mdatools (version 0.5.3)

mdaplot.formatValues: Format vector with numeric values

Description

Format vector with values, so only significant decimal numbers are left.

Usage

mdaplot.formatValues(data, round.only = F, digits = 3)

Arguments

data
vector or matrix with values
round.only
logical, do formatting or only round the values
digits
how many significant digits take into account

Value

  • matrix with formatted values

Details

Function takes into accound difference between values and the values themselves.