You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, no this issue remains open. The options argument in dynr.model is still ignored. However, you can set options directly with the @ setters for S4 objects, and see them with the $ getters for S4 objects. For example
# Specify your model
# ...
# Create model
model <- dynr.model(dynamics=dynamics, measurement=meas, noise=ecov, initial=initial, data=data)
# See current options
model$options
#$xtol_rel
#[1] 1e-07
#
#$stopval
#[1] -9999
#
#$ftol_rel
#[1] 1e-10
#
#$ftol_abs
#[1] -1
#
#$maxeval
#[1] 500
#
#$maxtime
#[1] -1
#
# Set things
opt <- model$options
opt$maxeval <- 1000
model@options <- opt # now model has maxeval option set to 1000 instead of 500
Original report by Michael Hunter (Bitbucket: mhunter, GitHub: mhunter).
The man page says we do this but we apparently don’t. Verify by trying to add `options` named list to demo/LineasSDE.R
The text was updated successfully, but these errors were encountered: