ourMELONS/R/fix.R

6 lines
220 B
R
Raw Normal View History

2020-07-14 14:09:57 +02:00
#' @title Round toward zero
#' @description Rounds each element of input to the nearest integer towards zero. Basically the same as trunc()
#' @param X input element
#' @author Waldir Leoncio
fix <- function(X) trunc(X)