Skip to contents

Easily-callable wrapper for /, with ability to avoid divide-by-0

Usage

relative(x, y, add_eps = 0)

Arguments

x

data to compare

y

reference data

add_eps

default 0. epsilon to add to prevent divide-by-zero infs. Can be 'auto' to use half of the minimum nonzero value

Value

numeric, as /