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.


TESA-workshops/TESAsamSim documentation built on Feb. 6, 2021, 12:25 a.m.