Add a formulation to a snapshot
add_formulation.Rd
Add a Formulation object to a Snapshot. This is a convenience function that calls the add_formulation method of the Snapshot class.
Examples
if (FALSE) { # \dontrun{
# Load a snapshot
snapshot <- load_snapshot("Midazolam")
# Create a new formulation
form <- create_formulation(name = "Tablet", type = "Weibull")
# Add the formulation to the snapshot
snapshot <- add_formulation(snapshot, form)
} # }