Check for simple formula
Extract simple part from formula
Extract simple part from formula
parameters are stored as extra arguments the order of the dynamical variables (and "t") is important and will be used later
Create a functions with a vector argument of state, for use in rk()
.is.formula(x) .is.simple.formula(x)
.simple.part(x)
.flatten(x)
.make.data.frame(x)
.clean_names(x)
.merge_data_frames(a, b)
.squash_names(object, sep = ":")
.cull_for_do(object)
.do.safe.call(what, args, quote = FALSE,
envir = parent.frame(), ...)
fetchDynamics(x)
dynamicsFunction(DE, additionalAssignments = list())
rkFunction(DE, additionalArguments = list())
TRUE if formula has no left-hand side or a simple
right-hand side (e.g., NULL
, ., 1, or 0)
simple part of formula or NULL if formula is not simple
a vector containing items in x
a data frame
a character vector
a data frame
a character vector
an object reflecting some of the information contained in
object
The result of the (evaluated) function call.
a list with two slots: names and functions
.make.data.frame
converts things to a data frame .clean_names
removes unwanted characters from
character vector
.merge_data_frames
is a wrapper around merge
.squash_names
squashes names of a data frame into
a single string
.cull_for_do
handles objects like models to do the
right thing for do
.do.safe.call
avoids conflicts between named
arguments and ... by taking named arguments
preferentially.
do.call