View source: R/get_modelinfo.R
| get_modelinfo | R Documentation |
For each model we create a modelinfo_[MODEL].R file (which we refer to as a "modelinfo" file for short) describing how the core httk functions should interact with the model.
get_modelinfo(
descriptor,
model = "sumclearancesplus",
suppress.messages = FALSE
)
descriptor |
The descriptor to retrieve. See Table 5 and Supplemental Information in \insertCitedavidson2025enablinghttk for a full list as of 2025. |
model |
The model for which to retrieve the descriptor.
See |
suppress.messages |
Whether or not the output messages are suppressed (default FALSE). |
The modelinfo file acts as a reference guide for each HTTK model providing model-specific global variables, mappings between R and C variables and functions, as well as criteria indicating data that are relevant for model evaluation.
Each modelinfo file saves the standard set of descriptors to the ‘model.list’ object within httk, which holds the model-specific information for all models in the package. The ‘model.list’ object allows the ‘core’ functions to identify and interact with all models in a standardized manner using standardized descriptors.
Beyond basic definitions for the relevant functions, the modelinfo file describes the default units and state of matter (“gas” or “liquid”) for each compartment in the model.
The variable “param.names” lists all the parameters used by R, which sometimes includes things such as logP, which underle the parameters used by the ODE system but are not directly needed by the model. The “Rtosolvermap” variable identifies which R parameters link to C parameters described by the “compiled.param.names” variable in the modelinfo file
See Table 5 and Supplemental Information in \insertCitedavidson2025enablinghttk for a description of the standard descriptors included in modelinfo files.
list_models
The entry from model.list corresponding to arguments descriptor and model.
John Wambaugh
davidson2025enablinghttk
list_models
get_modelinfo("param.names")
get_modelinfo("DOI",model="dermal_1subcomp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.