nlmixr_object_simplify: Simplify an nlmixr object

View source: R/simplify.R

nlmixr_object_simplifyR Documentation

Simplify an nlmixr object

Description

This function is typically not needed by end users.

Usage

nlmixr_object_simplify(object)

Arguments

object

Fitted object or function specifying the model.

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.

Value

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

See Also

Other Simplifiers: nlmixr_data_simplify()


nlmixr2/nlmixr2targets documentation built on Feb. 24, 2025, 9:57 a.m.