Skip to contents

Count the total number of complete couples of data.

Usage

countComplete(obs, pred)

Arguments

obs

A numeric vector with observed data.

pred

A numeric vector with predicted (model) data.

Value

An integer number.

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) {
   num <- countComplete(obs, mod)
}