project: Project into a region

View source: R/fdsa.R

projectR Documentation

Project into a region

Description

Project a vector elementwise into a constrained region

Usage

project(x, xmin, xmax)

Arguments

x

Vector

xmin

Vector of lower bounds

xmax

Vector of upper bounds

Value

Vector of closest values to x which satisfy the bounds


dennisprangle/gk documentation built on July 27, 2023, 11:36 p.m.