fix_borders: Fix Borders of a Numeric Vector

View source: R/de.R

fix_bordersR Documentation

Fix Borders of a Numeric Vector

Description

This function ensures that all values greater than 1.0 are set to 1.0, and all values less than 0.0 are set to 0.0.

Usage

fix_borders(vector)

Arguments

vector

A numeric vector to be processed.

Value

A numeric vector with borders fixed.


niarules documentation built on Sept. 15, 2025, 5:08 p.m.