Learn R Programming

gestate (version 1.6.0)

setPatients,RCurve-method: Method for setting N's in an RCurve

Description

This sets the RCurve patient numbers per arm directly and updates N and Ratio accordingly

Usage

# S4 method for RCurve
setPatients(theObject, Nactive, Ncontrol)

Arguments

theObject

The name of the RCurve Object

Nactive

Number of patients to set in active arm

Ncontrol

Number of patients to set in control arm

Examples

Run this code
setPatients(LinearR(12,100,100),200,150)

Run the code above in your browser using DataLab