model {assemblerr}R Documentation

General model

Description

This function creates the basis for a general pharmacometric model, a flexible but verbose model type.

Usage

model()

Details

The function creates the fundament for a general pharmacometric model to which different building blocks can be added. The following building blocks are relevant for this model type:

The more specialized pk_model() is converted to a general model during the rendering process.

Value

A general pharmacometric model

Examples

m <- model() +
    input_variable("dose") +
    prm_log_normal("emax") +
    prm_log_normal("ed50") +
    obs_additive(eff~emax*dose/(ed50+dose))
render(m)

[Package assemblerr version 0.1.0 Index]