fillFixedParams: Helper function to combine par with fixed params (in init)
Description
Helper function to combine par with fixed params (in init)
Usage
fillFixedParams(par, init, fixParams)
Arguments
- par
Numeric vector. The parameters that are optimized
- init
Numeric vector. The initial parameters (including the ones optimized over)
- fixParams
Numeric or logical vector. Positions of fixed parameters in the full parameter vector.