prEnvModelCall: Runs an fastDoCall within the environment of the model
Description
Sometimes the function can't find some of the variables that
were available when running the original variable. This function
uses the as.formula together with
environment in order to get the environment
that the original code used.
Usage
prEnvModelCall(model, what, ...)
Arguments
model
The model used
what
The function or non-empty character string used for
fastDoCall