magclass (version 4.107.0)

round-methods: Round-method for MAgPIE objects

Description

Round-method for MAgPIE-objects respectively. Works exactly as for arrays.

Usage

# S4 method for magpie
round(x, digits = 0)

Arguments

x

a magpie object

digits

integer indicating the number of decimal places (round) or significant digits (signif) to be used. Negative values are allowed.

Methods

x = "magpie"

works as round(x) for arrays.