function.wrapper: Utility extract functions

View source: R/extract.fcts.r

function.wrapperR 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


marked documentation built on Oct. 19, 2023, 5:06 p.m.