dist_to_interval: Computes the (absolute, pairwise) distance between the vector...

View source: R/utils.R

dist_to_intervalR 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.


counterfactuals documentation built on March 31, 2023, 7:17 p.m.