dist_to_interval {counterfactuals}R Documentation

Computes the (absolute, pairwise) distance between the vector elements and an interval

Description

Computes the (absolute, pairwise) distance between the vector elements and an interval

Usage

dist_to_interval(x, interval)

Arguments

x

(numeric())
A numeric vector.

interval

(numeric(2))
An interval.


[Package counterfactuals version 0.1.2 Index]