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
|
2021-11-10 14:02:35 +01:00
|
|
|
fix <- function(X) trunc(X)
|