dot-relativeError: Compute relative error

Description Usage Arguments Details Value

Description

Computes the relative error between two numbers x and y.

Usage

1

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 Oct. 28, 2021, 5:50 a.m.