mdaplot.formatValues function

Format vector with numeric values

Format vector with numeric values

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

mdaplot.formatValues(data, round.only = FALSE, 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

Returns

matrix with formatted values

Details

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

  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19