get.events: Create events from bolus dosing records.

Description Usage Arguments Value Author(s) See Also

View source: R/get.events.R

Description

get.events is a secondary function called by dde.model. It creates a data.frame of events from the bolus dosing records found in the dataset. get.events is typically not called directly by users.

Usage

1
2
  get.events(bolus = NULL, 
             scale = NULL)

Arguments

bolus

b x 4 data.frame providing the instantaneous inputs

scale

s x 1 vector of scaling factors

Value

Return a data.frame of events with the following elements:

var

A name of the state affected by the event

time

The time of the event

value

The value associated with the event

method

How the event affects the state ('add' by default)

See events for more details

Author(s)

Sebastien Bihorel (sb.pmlab@gmail.com)

See Also

codeevents


scaRabee documentation built on Feb. 4, 2022, 5:07 p.m.