addControl-method {Umpire}R Documentation

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 signature 'ANY'
addControl(object, fraction = 0.5, ...)
## S4 method for signature 'CancerModel'
addControl(object, fraction = 0.5, ...)
## S4 method for signature 'CancerEngine'
addControl(object, fraction = 0.5, ...)

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

Value

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

Author(s)

Kevin R. Coombes krc@silicovore.com,


[Package Umpire version 2.0.10 Index]