is_in_range: Check if a value falls within a distribution range defined by...

View source: R/Utils.R

is_in_rangeR Documentation

Check if a value falls within a distribution range defined by a set of numbers

Description

This function checks if a value falls within the distribution range defined by a set of numbers, represented by the minimum and maximum values of the set.

Usage

is_in_range(value, my_set)

Arguments

value

The value to be checked

my_set

A set of numbers defining the distribution range

Value

A logical value, TRUE if the value falls within the distribution range, FALSE otherwise

Examples

my_set <- c(10, 20, 30, 40, 50)
is_in_range(25, my_set)


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.