subjectsPerArm: S3 generic to output the number of subjects in each arm for a...

View source: R/common.R

subjectsPerArmR Documentation

S3 generic to output the number of subjects in each arm for a given object

Description

S3 generic to output the number of subjects in each arm for a given object

Usage

subjectsPerArm(x)

Arguments

x

The object

Value

A vector of the number of subjects in each arm

Examples

sim <- SimulateComplete(study.time=365,number.subjects=50,
event.rates=c(0.01,0.005),dispersions=0.25)
subjectsPerArm(sim)

dejaVu documentation built on Sept. 11, 2024, 8:24 p.m.