zero1: Constrain vector to [0,1] range

View source: R/internal-helpers.R

zero1R Documentation

Constrain vector to [0,1] range

Description

Constrains values in a vector to be between 0 and 1. Used internally.

Usage

zero1(x)

Arguments

x

numeric vector to constrain

Value

numeric vector with values constrained to [0,1]


guess documentation built on March 31, 2026, 9:07 a.m.