fn.clip: Clip vector values to bounds and renormalize

View source: R/other-functions.R

fn.clipR Documentation

Clip vector values to bounds and renormalize

Description

Ensures all values are within specified bounds and sum to 1

Usage

fn.clip(vec, gammaMin, gammaMax)

Arguments

vec

Numeric vector to clip

gammaMin

Lower Bound

gammaMax

Upper bound

Value

Clipped and renormalized vector that sums to 1


WMAP documentation built on Oct. 6, 2026, 1:07 a.m.