updateAmount function

Update amount.

Update amount.

updateAmount(object, amount, ref) ## S4 method for signature 'bolus,numeric,character' updateAmount(object, amount, ref) ## S4 method for signature 'infusion,numeric,character' updateAmount(object, amount, ref) ## S4 method for signature 'bolus_wrapper,numeric,character' updateAmount(object, amount, ref) ## S4 method for signature 'infusion_wrapper,numeric,character' updateAmount(object, amount, ref) ## S4 method for signature 'treatment,numeric,character' updateAmount(object, amount, ref) ## S4 method for signature 'arm,numeric,character' updateAmount(object, amount, ref) ## S4 method for signature 'arms,numeric,character' updateAmount(object, amount, ref) ## S4 method for signature 'dataset,numeric,character' updateAmount(object, amount, ref)

Arguments

  • object: generic object
  • amount: new amount
  • ref: reference treatment name

Returns

updated object