Learn R Programming

accrualPlot (version 1.0.7)

summary.accrual_df: Summary method for accrual_dfs (as created by accrual_create_df)

Description

Summary method for accrual_dfs (as created by accrual_create_df)

Usage

# S3 method for accrual_df
summary(object, ...)

Value

Returns data frame with a header, a row per site and overall and the following columns:

name

name of the site (if accrual_df is a list)

start_date

accrual start date

time

time accruing

n

number of patients accrued

rate

accrual rate per time unit

Arguments

object

object of class 'accrual_df' or 'accrual_list' produced by accrual_create_df.

...

options passed to other functions

Examples

Run this code
data(accrualdemo)
accrual_df<-accrual_create_df(accrualdemo$date, accrualdemo$site)
summary(accrual_df)

Run the code above in your browser using DataLab