function.wrapper {marked} | R Documentation |
Utility extract functions
Description
Several functions have been added to extract components from externally saved crm models function.wrapper accepts a character string for a model, loads it and then runs the specified function on it. Currently, only 2 functions have been defined: fx.aic to compute aic and fx.par.count to extract parameter count. Currently parameters other than x (eg chat) are passed through the environment. Possibly could have used ...
Usage
function.wrapper(x,fx,base="",...)
fx.aic(x)
fx.par.count(x)
Arguments
x |
character string for the model stored as external object (.rda) |
fx |
function to be called for each model |
base |
base name for models |
... |
additional values that are added to environment of fx (eg chat for fx.aic) |
Value
extracted value defined by function
Author(s)
Jeff Laake
[Package marked version 1.2.8 Index]