calculate_parameters {PKPDsim} | R Documentation |
Calculate model-specific variables using a dummy call to sim_ode()
Description
This is a convenience function for PKPDsim users, it is not used inside the 'sim_ode()“ function in any way. This function is useful for converting from an estimated parameter to actual parameter, e.g. when clearance is specified as 'CLi = CL * (WT/70) * (1/CR)' it can be used to calculate 'CLi' without having to write that function a second time in R.
Usage
calculate_parameters(
ode = NULL,
parameters = NULL,
covariates = NULL,
include_parameters = TRUE,
include_variables = TRUE,
...
)
Arguments
ode |
PKPDsim model object |
parameters |
parameter list |
covariates |
covariate list. Make sure to include covariates at the right time point, since only last observed covariate values are used. |
include_parameters |
boolean, include parameters? |
include_variables |
boolean, include variables? |
... |
arguments to pass on to simulation function |
Value
List of model-specific variables
[Package PKPDsim version 1.3.0 Index]