This adds a dosing event to the event table. This is provided for piping syntax through magrittr
add.sampling(eventTable, time, time.units = NA)
An eventTable object
a vector of time values (in time.units
).
an optional string specifying the time
units. Defaults to the units specified when the
EventTable
was initialized.
eventTable with updated sampling. (Note the event table will be updated even if you don't reassign the eventTable)