Learn R Programming

campsis (version 1.9.0)

update_amount: Update amount.

Description

Update amount.

Usage

update_amount(object, amount, ref)

# S4 method for bolus,numeric,character update_amount(object, amount, ref)

# S4 method for infusion,numeric,character update_amount(object, amount, ref)

# S4 method for bolus_wrapper,numeric,character update_amount(object, amount, ref)

# S4 method for infusion_wrapper,numeric,character update_amount(object, amount, ref)

# S4 method for treatment,numeric,character update_amount(object, amount, ref)

# S4 method for arm,numeric,character update_amount(object, amount, ref)

# S4 method for arms,numeric,character update_amount(object, amount, ref)

# S4 method for dataset,numeric,character update_amount(object, amount, ref)

Value

updated object

Arguments

object

generic object

amount

new amount

ref

reference treatment name