interval_parms: interval_parms: truncate parameters into bounds

View source: R/run_ttr.R

interval_parmsR Documentation

interval_parms: truncate parameters into bounds

Description

This function takes a numeric vector and constrains it to specified bounds by reflecting values outside the bounds into the interval. The bounds are defined by a data object returned by make_data()

Usage

interval_parms(par, Data)

Arguments

par

A numeric vector of parameters as supplied by LaplacesDemon or DEoptim

Data

A data object as returned by make_data()

Value

A numeric vector in which each parameter is reflected into bounds.


TTR.PGM documentation built on June 8, 2025, 9:32 p.m.