Count the total number of complete couples of data.
Arguments
- obs
A numeric vector with observed data.
- pred
A numeric vector with predicted (model) data.
Details
Given two numeric vectors of the same length, the function counts the number
of rows with complete data, i.e. both values are numbers.
Examples
if (FALSE) { # \dontrun{
num <- countComplete(obs, mod)
} # }