calcErr: Calculate observed error

View source: R/calcObservedError.R

calcErrR Documentation

Calculate observed error

Description

This helper function calculates relative error rates with a few corrections to account for missing or wonky data.

Usage

calcErr(obs, true)

Arguments

obs

A numeric vector representing observed data.

true

A numeric vector representing true data.

Value

Returns a numeric vector of absolute relative error.


CamFreshwater/samSim documentation built on Sept. 25, 2023, 10:22 a.m.