Learn R Programming

stpm (version 1.2.1)

optimize: A sub-finction that corresponds to the spm_time_dep(...)

Description

A sub-finction that corresponds to the spm_time_dep(...)

Usage

optimize(data, starting_params, formulas, verbose, lb, ub, algorithm,
  stopifbound, maxeval = maxeval)

Arguments

data
a data matrix.
starting_params
initial point.
formulas
a set of formulas for model parameters.
verbose
a verbosing output.
lb
lower bound.
ub
upper bound.
algorithm
some optimization algorithm, for example, NLOPT_LN_NEWUOA.
stopifbound
if TRUE then algorithm stops when at least one parameter.
maxeval
maximum number of evaluations of the algorithm. achieved boundaries.