Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

gestate (version 1.3.2)

InstantR: InstantR RCurve constructor function

Description

This creates a RCurve object for an instant recruitment distribution. RCurve objects contain all necessary information to describe a recruitment distribution. They are a particular type of Curve object containing additional recruitment-related information, including patient numbers and the randomisation ratio.

Usage

InstantR(Nactive, Ncontrol)

Arguments

Nactive

Number of patients recruited in active arm.

Ncontrol

Number of patients recruited in active arm.

Details

This RCurve is used when either all patients enter at the same time, or a fixed-length follow-up design is used. Note that a PDF function is not provided for this RCurve type, but is not required for standard calculations.

Examples

Run this code
# NOT RUN {
InstantR(Nactive=100,Ncontrol=100)
# }

Run the code above in your browser using DataLab