simObj
instances without
using new
explicitly.odeModel(obj = NULL, main = NULL,
equations = NULL, times = c(from = 0, to = 10, by = 1),
init = numeric(0), parms = numeric(0),
inputs = NULL, solver = "rk4", initfunc = NULL)gridModel(obj = NULL, main = NULL,
equations = NULL, times = c(from=0, to=10, by=1),
init = matrix(0), parms = list(),
inputs = NULL, solver = "iteration", initfunc = NULL)
rwalkModel(obj = NULL, main = NULL,
equations = NULL, times = c(from = 0, to = 10, by = 1),
init = NULL, parms = list(),
inputs = NULL, solver = "iteration", initfunc = NULL)
indbasedModel(obj = NULL, main = NULL,
equations = NULL, times = c(from = 0, to = 10, by = 1),
init = NULL, parms = list(),
inputs = NULL, solver = "iteration", initfunc = NULL)
obj
is omitted, the new object is created from scratch.from
, to
, by
specifying the
simulation time steps. The `from-to-by' form can be edited with
fixParms
.initialize
mechanism
and allows direct access and manipulation of all slots
of the object in creationodeModel
,
rwalkModel
, gridModel
simObj
instances in addition to the standard S4 new
mechanism. The functions are provided mainly for compatibility with older
versions of See simecol-package
and the examples for details about the
slots.
new
,
new
,
simecol-package