Skip to contents

Update amount.

Usage

updateAmount(object, amount, ref)

# S4 method for class 'bolus,numeric,character'
updateAmount(object, amount, ref)

# S4 method for class 'infusion,numeric,character'
updateAmount(object, amount, ref)

# S4 method for class 'bolus_wrapper,numeric,character'
updateAmount(object, amount, ref)

# S4 method for class 'infusion_wrapper,numeric,character'
updateAmount(object, amount, ref)

# S4 method for class 'treatment,numeric,character'
updateAmount(object, amount, ref)

# S4 method for class 'arm,numeric,character'
updateAmount(object, amount, ref)

# S4 method for class 'arms,numeric,character'
updateAmount(object, amount, ref)

# S4 method for class 'dataset,numeric,character'
updateAmount(object, amount, ref)

Arguments

object

generic object

amount

new amount

ref

reference treatment name

Value

updated object