5 lines
220 B
R
5 lines
220 B
R
#' @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)
|