dmulti: Agent-specific dose-response function

View source: R/dose.functions.R

dmultiR Documentation

Agent-specific dose-response function

Description

Function combines different dose-response functions together to create an object containing parameters for multiple dose-response functions.

Usage

dmulti(funs = list())

Arguments

funs

A list of objects of class("dosefun"), each element of which corresponds to an agent in the dataset to be modelled. The list length must be equal to the number of agents in network$agents used in mbnma.run(), and the order of the dose-response functions in the list is assumed to correspond to the same order of agents in network$agents.

Value

An object of class("dosefun")

Examples


funs <- c(rep(list(demax()),3),
          rep(list(dloglin()),2),
          rep(list(demax(ed50="common")),3),
          rep(list(dexp()),2))

dmulti(funs)

MBNMAdose documentation built on Aug. 8, 2023, 5:11 p.m.