error_model_comb1 {posologyr}R Documentation

Residual error model combined 1

Description

Residual error model combined 1. Constant error model if no proportional coefficient is provided. Proportional error model if no constant (or additive) error coefficient is provided.

Usage

error_model_comb1(f, sigma)

Arguments

f

Numeric vector, output of a pharmacokinetic model

sigma

Numeric vector of the coefficients for the residual error model

Details

Implements the following function: g <- sigma[1] + sigma[2]*f

Value

Numeric vector, residual error


[Package posologyr version 1.2.4 Index]