calcErr: Calculate observed error

Description Usage Arguments Value

View source: R/calcObservedError.R

Description

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

Usage

1
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/TESAsamSim documentation built on Feb. 5, 2021, 9:25 p.m.