Skip to contents

Compare numerical vectors accepting a tolerance

Usage

almostEqual(x, y, tolerance = 1e-12)

Arguments

x

vector of numerical

y

vector of numerical

tolerance

tolerance, i.e. accepted difference between values in x and y. Default: 1e-12

Value

vector of logical