Create a new formulation object.
formulation( name, unit, dosing_interval = 24, default_value = 1, round_function = function(dose) { dose } )
| name | the formulation name |
|---|---|
| unit | the unit |
| dosing_interval | the dosing interval in hours, 24h is the default value |
| default_value | the default dose value, same unit as the one provided |
| round_function | the rounding function to round the recommended dose, by default doses are not rounded |
a tdmore_formulation object
Other metadata:
covariate(),
getDosingInterval(),
getMetadataByClass(),
getMetadataByName(),
metadata(),
output(),
target()