dot-relativeError: Compute relative error

.relativeErrorR Documentation

Compute relative error

Description

Computes the relative error between two numbers x and y.

Usage

.relativeError(x, y)

Arguments

x

a number

y

a number

Details

The relative error e is defined as e = | 1 - x/y |

Value

The relative error between x and y


goncalves-lab/waddR documentation built on June 29, 2023, 12:18 a.m.