Description Usage Arguments Value See Also
Create a new formulation object.
1 2 3 4 5 6 7 | 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.