sim_IQRmodel with strict output format
sim_IQRmodel_strict.Rdsim_IQRmodel() output format depends on arguments of the sim_IQRmodel call.
sim_IQRmodel_strict(simIQRmodelSpec)Arguments
- simIQRmodelSpec
Argument list for sim_IQRmodel, created by
createSimIQRmodelSpec()
Value
IQRsimres with consistent format, see description
Details
TIME is very context dependent, eventfor explicit
simtimevalues passed as argument.ID is not always present: If the eventTable contains one ID only, or sim_IQRmodel is called without eventTable, the output an ID column does not contain
By contrast, this function has consistent output, suitable for programming.
TIME corresponds exactly to the input given in
simtimeIt always contains an ID column
It always has a simNames attribute
See also
Other IQRmodel:
IQRmodel(),
addOutputs_IQRmodel(),
addRelations_IQRmodel(),
createSimIQRmodelSpec(),
exportSBML_IQRmodel(),
exportVariant_IQRmodel(),
export_IQRmodel(),
getPars_IQRmodel(),
hasCcodeFunctions_IQRmodel(),
hasInitialAssignments_IQRmodel(),
importSBML_IQRmodel(),
importVariant_IQRmodel(),
is_IQRmodel(),
new_IQRmodel(),
print.IQRmodel(),
print.IQRsensitivity(),
regenerate_IQRmodel(),
replaceTerms_IQRmodel(),
sensitivity_IQRmodel(),
setParameters_IQRmodel(),
setPars_IQRmodel(),
sim_IQRmodel(),
simbio_CSV2namedVector(),
simbio_updateParamIC_IQRmodel(),
stoichiometry_IQRmodel(),
strReplace_IQRmodel()
Other Simulation:
IQRdosing(),
IQReventTable(),
createSimIQRmodelSpec(),
create_IQReventData(),
create_IQReventTable(),
extract_IQRdosing(),
getDefaultEventTable(),
is_IQRdosing(),
is_IQReventTable(),
is_IQRsimres(),
is_IQRsimresMulti(),
plot.IQRsimres(),
plot.IQRsimresMulti(),
print.IQRdosing(),
print.IQReventTable(),
print.IQRsimres(),
print.IQRsimresMulti(),
rbind_IQRdosing(),
sim_IQRmodel(),
sim_IQRmodel_sensitivityScan()
Examples
if (FALSE) { # \dontrun{
td <- tempdir()
libraryPK_IQRtools(td)
fl <- file.path(td, "ModelLibraryPK/model_2cpt_linsat_iv.txt")
model <- IQRmodel(fl)
simIQRmodelSpec1 <- createSimIQRmodelSpec(model, simtime = c(0), parameters = c(CL = 10), dosingTable = IQRdosing(0,1,1))
simres1 <- do.call(sim_IQRmodel, simIQRmodelSpec1)
simres1_strict <- sim_IQRmodel_strict(simIQRmodelSpec = simIQRmodelSpec1)
} # }
