Learn R Programming

Umpire (version 2.0.11)

addControl-method: Method "addControl"

Description

addControl is a generic function used to add a control group to a simulated patient cohort. Implementations exists for a CancerModel and for a CancerEngine.

Usage

# S4 method for ANY
addControl(object, fraction = 0.5, ...)
# S4 method for CancerModel
addControl(object, fraction = 0.5, ...)
# S4 method for CancerEngine
addControl(object, fraction = 0.5, ...)

Value

Returns a new object of the same class as its first argument.

Arguments

object

an object to which adding a contrl group is desired

fraction

a real number between zero oand one; the fraction of the final cohort that shoudl consist of controls

...

additional arguments; not yet used

Author

Kevin R. Coombes krc@silicovore.com,