Update amount.
updateAmount(object, amount, ref)# S4 method for bolus,numeric,character
updateAmount(object, amount, ref)
# S4 method for infusion,numeric,character
updateAmount(object, amount, ref)
# S4 method for bolus_wrapper,numeric,character
updateAmount(object, amount, ref)
# S4 method for infusion_wrapper,numeric,character
updateAmount(object, amount, ref)
# S4 method for treatment,numeric,character
updateAmount(object, amount, ref)
# S4 method for arm,numeric,character
updateAmount(object, amount, ref)
# S4 method for arms,numeric,character
updateAmount(object, amount, ref)
# S4 method for dataset,numeric,character
updateAmount(object, amount, ref)
updated object
generic object
new amount
reference treatment name