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

Description Usage Arguments Value Examples

View source: R/common.R

Description

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

Usage

1

Arguments

x

The object

Value

The number of subjects

Examples

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

scientific-computing-solutions/dejaVu documentation built on May 29, 2019, 3:44 p.m.