Object of class eqnvec or a
named character vector with the algebraic expressions
variables
character vector, the symbols that should be treated as variables
parameters
character vector, the symbols that should be treated as parameters
compile
Logical. The function is either translated into a C file to be compiled or is
evaluated in raw R.
modelname
file name of the generated C file.
verbose
Print compiler output to R command line.
convenient
logical, if TRUE return a function with argument ... to pass
all variables/parameters as named arguments
warnings
logical. Suppress warnings about missing variables/parameters that are
automatically replaced by zero values.
Value
Either a prediction function f(..., attach.input = FALSE) where the
variables/parameters are passed as named arguments or a prediction function
f(M, p, attach.input = FALSE) where M is the matrix of variable values
(colums with colnames correspond to different variables) and p is the vector of
parameter values.
The argument attach.input determines whether M is attached to the output.
The function f returns a matrix.