Skip to contents

This function is typically not needed by end users.

Usage

nlmixr_object_simplify(object)

Arguments

object

Fitted object or function specifying the model.

Value

object converted to a nlmixrui object. The model name is always "object".

Details

The object simplification removes comments (so please use label() instead of comments to label parameters) and then converts the object to a "nlmixrui" object.

Since setting initial conditions with cmt(0) does not work with targets, the function definition of the object must set it with cmt(initial). cmt(initial) will be converted to cmt(0) before passing to nlmixr2.

See also

Other Simplifiers: nlmixr_data_simplify()