Learn R Programming

niarules (version 0.2.0)

fix_borders: 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)

Value

A numeric vector with borders fixed.

Arguments

vector

A numeric vector to be processed.