Comparing IQRmodel with IQRsysModel simulation
compare_IQRmodel_IQRsysModel_simulation.Rd
Can be used for unit tests but as well for other purposes. It will compare all state variables and all OUTPUT variables. If a model does not contain an OUTPUT then an OUTPUT1 will be added and assigned the sum of all variables. If a model does not contain an INPUT then +INPUT1 will be added to the first ODE in the model. This OUTPUT and INPUT definition is needed as IQRsysModels require the presence of at least one INPUT and OUTPUT.
compare_IQRmodel_IQRsysModel_simulation(
model,
simtime = NULL,
dosingTable = NULL,
parameters = NULL,
filename = NULL,
absTol = 1e-12,
relTol = 1e-12
)
Arguments
- model
IQRmodel or path to IQRmodel file
- simtime
Numeric vector with simulation time. If not provided a simtime vector of seq(0,20,1) will be used.
- dosingTable
IQRdosing
- parameters
Named numeric vector of parameters for simulation
- filename
If filename provided comparisons will be plotted into a PDF
- absTol
absolute tolerance for simulator
- relTol
relative tolerance for simulator
Value
Object CompareIQRmodelIQRsysModel with relevant information
See also
Other Auxiliary:
IQRloadCSVdata()
,
IQRsaveCSVdata()
,
and()
,
aux_explode()
,
aux_explodePC()
,
aux_fileparts()
,
aux_fileread()
,
aux_filewrite()
,
aux_getRelPath()
,
aux_mkdir()
,
aux_na_locf()
,
aux_postFillChar()
,
aux_preFillChar()
,
aux_quantilenumber()
,
aux_rmdir()
,
aux_simplifypath()
,
aux_splitVectorEqualPieces()
,
aux_strFindAll()
,
aux_strrep()
,
aux_strtrim()
,
aux_unlevel()
,
aux_version()
,
calcAICBIC()
,
clusterX()
,
fit_EmaxModel()
,
format_GUM()
,
ge()
,
gen_aux_version()
,
geocv()
,
geomean()
,
geosd()
,
ginv()
,
gt()
,
interp0()
,
interp1()
,
interpcs()
,
inv_logit()
,
le()
,
logit()
,
lt()
,
mod()
,
mvrnorm()
,
norm_M3()
,
or()
,
piecewise()
,
progressBar()
,
remove_duplicates()
,
run_silent_IQR()
,
stopIQR()
,
tempdirIQR()
,
tempfileIQR()
,
warningIQR()