get.events {scaRabee}R Documentation

Create events from bolus dosing records.

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

  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


[Package scaRabee version 1.1-4 Index]