preProcessHooksAdd: This adds a pre-processing hook to nlmixr2est

View source: R/hook.R

preProcessHooksAddR Documentation

This adds a pre-processing hook to nlmixr2est

Description

This pre-processing hook is run before the estimation process begins. It is useful for modifying the user interface, the estimation object, the data, or the control object before the estimation process begins. The function must take four arguments: ui, est, data, and control. The function must return a list with elements 'ui', 'est', 'data', and/or 'control'. If the element is not returned, the original object is used. If the element is returned, the original object is replaced with the new object.

Usage

preProcessHooksAdd(name, fun)

Arguments

name

Character vector representing the name of the hook

fun

The function to run

Value

The function that was added (invisibly)

Author(s)

Matthew L. Fidler

See Also

Other preProcessHooks: preProcessHooks(), preProcessHooksRm()


nlmixr2est documentation built on April 4, 2025, 12:29 a.m.