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 Oct. 17, 2024, 5:06 p.m.