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/diffexpR documentation built on June 5, 2023, 10:18 p.m.