Skip to contents

Use this function to round a vector.

Usage

dgt0(x)

Arguments

x

a numeric vector

Value

a numeric vector

Examples

dgt0(rnorm(10))
#>  [1] -1  0 -2  0  1  1 -2  0  0  0