prEnvModelCall: Runs an 'fastDoCall()' within the environment of the model

Description Usage Arguments

View source: R/private_functions.R

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

1
prEnvModelCall(model, what, ...)

Arguments

model

The model used

what

The function or non-empty character string used for fastDoCall()

...

Additional arguments passed to the function


Greg documentation built on July 1, 2020, 6:59 p.m.