complianceReport: Compliance Report

Description Usage Arguments Examples

Description

Generate compliance report by time across treatment groups.

Usage

1
  complianceReport(comply, treat, time, times = NULL)

Arguments

comply

numeric or character vector. Indicator variable for compliance. Should be 1/0 or yes/no.

treat

factor vector. Treatment group for each record.

time

numeric vector. Time for each record.

times

numeric vector. Subset of times to use.

Examples

1
2
3
4
## Not run: 
  complianceReport(rbinom(200, 1, 0.8), as.factor(sample(c('A','B'), 200, replace=TRUE)), sample(10, 200, replace=TRUE))

## End(Not run)

harrelfe/rreport documentation built on May 17, 2019, 2:48 p.m.