Parse a user-provided function to get the vectorized version.
parseFunction(
pFunc,
param.pFunc,
name,
diff = FALSE,
timeDep = FALSE,
hostCount = FALSE,
continuous = FALSE,
stateNames = NA
)
a function
a named list of arguments
the name of the function
is the function differential according to state/env.variable? (TRUE/FALSE)
is the function differential according to absolute time? (TRUE/FALSE)
is the function differential according to host count? (TRUE/FALSE)
is the function to be used in a continuous space? (TRUE/FALSE)
name of the states (vector) in case of discrete structure.
list of parsed quantities:
"vect"Vectorized version of the function.
"vectArgs"Vector of arguments for the vectorized function.