interval_parms {TTR.PGM}R 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.


[Package TTR.PGM version 1.0.0 Index]