relistArguments: likeLTD::relistArguments

Description Usage Arguments Value See Also

View source: R/maximize.R

Description

In practice, this function undoes the flattening needed to run optim. Hence, it should take the same parameters that optimisation.params does. Takes a linear vector of parameters, as passed to and returned from an optimisation method, and makes it a list. Transforms degradation parameters back into normal (non-logarithmic) form. Adds fixed arguments back into the list.

Usage

1
2
relistArguments(parameters, hypothesis, fixed=NULL, 
logDegradation=TRUE, arguments=NULL)

Arguments

parameters

Vector of parameters

hypothesis

Hypothesis from which objective function was obtained.

fixed

Names of the arguments which were fixed during optimisation.

logDegradation

Whether degradation is logarithmic form.

arguments

Initial guess, if any, when starting minimization.

Value

Input parameters as a list.

See Also

optimisation.params, initial.arguments


likeLTD documentation built on Feb. 11, 2018, 3:10 p.m.