Topic: Utilities
Topic Description:
Basic R utilities used in many packages and functions, such as date and string manipulations, statistical distributions, geometry of lines and distances. The R package date is required for the two data functions.
File: utilities/utilities.r
| View File Source | Download File | No help file available |
Function: countEmpty
Function Description: countEmpty
Counts vector elements that are NA or a string of no length.Function Arguments:
| Argument | Default Value |
|---|---|
Function Source:
countEmpty=function(x)
return(length(x[is.na(x) | x=='']))
return(length(x[is.na(x) | x=='']))