numberSubjects {dejaVu}R Documentation

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

Description

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

Usage

numberSubjects(x)

Arguments

x

The object

Value

The number of subjects

Examples

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

[Package dejaVu version 0.3.1 Index]