View source: R/curve_constructors.R
LinearR | R Documentation |
This creates a RCurve object for a linear 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.
LinearR(rlength, Nactive, Ncontrol)
rlength |
Length of recruitment. |
Nactive |
Number of patients recruited in the active arm. |
Ncontrol |
Number of patients recruited in the control arm. |
This RCurve is used when it is expected that patients enter a trial at a constant rate until the required number is achieved.
James Bell
LinearR(rlength=12,Nactive=100,Ncontrol=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.