R/utilities.R

Defines functions is_count_data

is_count_data <- function(value) {
    is.numeric(value) && (value %% 1 == 0) && (value >= 0)
}
boweber/rpcm-tree documentation built on July 4, 2021, 1:42 p.m.