Open al-obrien opened 4 months ago
If the input is an integer, then just return 0s
count_decimals <- function(x) { if(inherits(x, 'integer')) return(vector(mode = 'numeric', length = length(x))) }
If the input is an integer, then just return 0s