R/total.R

Defines functions total

# Count total values in field
#
# Returns the number of values in a vector (including NA's).
# @param x vector of numeric values.
# @keywords total
# @examples
# total(c(1,2,3,NA,NA))
total <- function(x) {
    length(x)
}
rnitulescu/munge documentation built on March 21, 2022, 11 a.m.