InstantR: InstantR RCurve constructor function

Description Usage Arguments Details Author(s) Examples

View source: R/curve_constructors.R

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

1
InstantR(Nactive, Ncontrol)

Arguments

Nactive

Number of patients recruited in the active arm.

Ncontrol

Number of patients recruited in the control 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.

Author(s)

James Bell

Examples

1
InstantR(Nactive=100,Ncontrol=100)

gestate documentation built on Feb. 20, 2020, 5:08 p.m.