gte: Assign Vector Values Greater Than or Equal to Value

View source: R/gte.R

gteR Documentation

Assign Vector Values Greater Than or Equal to Value

Description

Returns a numeric vector greater than or equal to the 'value' parameter. Sets the values less than 'value' to the value of 'value'.

Usage

gte(x, value)

Arguments

x

numeric vector; The vector of values to be adjusted.

value

numeric;

Details

Used to limit the range of values from a FluvialGeomorph metric to ensure that only conceptually relevant values are returned. This is simply a convenience function that uses a more computationally efficient method than the available 'ifelse' functions.

Value

Returns a numeric vector greater than or equal to the 'value' parameter. Sets the values less than 'value' to the value of 'value'.


FluvialGeomorph/fluvgeo documentation built on April 12, 2024, 5:35 p.m.