tmpl_model: Get coding for template models

View source: R/tmpl_model.r

tmpl_modelR Documentation

Get coding for template models

Description

This function returns the code for some template models

Usage

tmpl_model(tmpl, ret = "console")

Arguments

tmpl

character with template

ret

character indicating how the result should be returned. Currently "console", "string" and "script" are accepted

Details

There are templates available for 1-2 CMT PK models for IV/bolus/oral administration as both analytical as closed form and parameterized with constants or as CL/V. To see which templates are available in the package run the function without arguments

Value

model syntax is returned either to console or script (within Rstudio) or a character string

Author(s)

Richard Hooijmaijers

Examples


tmpl_model()
tmpl_model("ana1CMTbolusK.tmp")


amp.sim documentation built on May 7, 2026, 5:08 p.m.