Learn R Programming

marked (version 1.2.8)

function.wrapper: 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)

Value

extracted value defined by function

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)

Author

Jeff Laake