rk
, which are normally not
intended to be called by the end user.
Though internal, both functions are visible in the user's workspace to allow for
easy inspection and fine-tuning of the algorithms by experienced users.rkFixed(y, times, func, parms, tcrit = NULL, verbose = FALSE, hini = 0,
method = rkMethod("rk4", ...), ...)
rkAuto(y, times, func, parms, rtol = 1e-06, atol = 1e-06,
tcrit = NULL, verbose = FALSE, hmin = 0, hmax = NULL, hini = 0,
method = rkMethod("rk45dp7", ...), maxsteps = 5000, ...)
rk
. Note that rkFixed
is used for the methods
with fixed time step and rkAuto
for the embedded methods with automatic step
size determination. Both functions return raw values of the integration
without external interpolation and without the "global" return values of the model.