powered by
This function calculates the number of values in a vector that are not NA.
notNA(x)
A vector.
This function just shorthand for sum(!is.na(x)), with a shorter name for reference in the vtable or sumtable summ option.
sum(!is.na(x))
vtable
sumtable
summ
# NOT RUN { x <- c(1, 1, NA, 2, 3, NA) notNA(x) # }
Run the code above in your browser using DataLab