project {gk}R 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


[Package gk version 0.6.0 Index]