Learn R Programming

mdatools (version 0.14.1)

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 = FALSE, digits = 3)

Value

matrix with formatted values

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

Details

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