Function to shift data right on time axis by a certain offset

In QSP modeling the steady-state _/ baseline values are dependent by parameters without the possibility of analytically calculating the steady-state. Therefor, a runin-period needs to be allowed for so that when changing parameters a new steady-state can be obtained prior to starting the experiment - or the comparison between data and simulations in estimation and in simulation. This function allows to introduce such a runin period by adding a dose of 0 into the dataset that comes "offset" time before the first recorded event in the dataset. For this to work it is important that the model contains at least an INPUT1 argument. Also required are the presence of the columns introduced by import_IQRsysData.

offsetTIME_IQRsysData(data, offset)

Arguments

data

Estimation dataset for sysfit

offset

Desired time offset to allow reaching steady-state

Value

Updated dataset

Details

Important are also the numerics. If offset chosen to large, it might lead to numerical difficulties which can be circumvented by setting the options SIMOPT.atol or SIMOPT.hmax in the call to IQRsysProject().

See also