BootEvents: Bootstrap Events

Description Usage Arguments Value

View source: R/4_Boostrap.R

Description

Bootstrap the number of events observed in each cell of a contingency table, keeping the number of subjects in each cell fixed.

Usage

1
BootEvents(y0, n0, y1, n1)

Arguments

y0

Events per category in arm 0.

n0

Subjects per category in arm 0.

y1

Events per category in arm 1.

n1

Subjects per category in arm 1.

Value

List containing the bootstrapped event counts.


zrmacc/MargRates documentation built on Jan. 1, 2021, 1:55 p.m.