spatq_fit | R Documentation |
Use nonlinear optimization routines from nlminb
or
optim
to fit. Can include constraints where appropriate
for the chosen method. If method = "nlminb"
is used, the result is
restructure to match optim
output using
fix_nlminb_fit
.
spatq_fit( obj, fit = NULL, method = "nlminb", bounds = list(lower = -Inf, upper = Inf), control = list() )
obj |
A |
fit |
Previous fit, use results as starting values |
method |
Optimization method to use, as a string. Valid options are
|
bounds |
List with |
control |
list of control arguments to pass to
|
A spatq_fit object containing the optimization output and optimization diagnostics
John K Best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.