events_plot: Plot the output of eventsCount

Description Usage Arguments Value

View source: R/funcs_2.R

Description

Plots the cummulative number of events observed and expected using the survival functions given to eventsCount().

Usage

1
2
events_plot(eventsCount.list, origin = NULL, period.length = NULL, E,
  use.letters = TRUE, call.mfrow = TRUE, ...)

Arguments

eventsCount.list

A list of outputs of eventsCount().

origin

Date of the beginning of the trial.

period.length

Length of the time periods.

E

Total number of events to achieve.

use.letters

Index all elements in the list with a letter when plotting.

call.mfrow

Wether to display all plots in the same window.

...

Other arguments passed to par().

Value

Just produces one or more plots.


gcastella/predRCT documentation built on May 16, 2019, 10:15 p.m.