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.


Pacific-salmon-assess/samSim documentation built on Jan. 20, 2025, 11:17 a.m.