PermEvents: Permute Events

Description Usage Arguments Value

View source: R/5_Permutation.R

Description

Permute the number of events observed in each cell of a contingency table, keeping the number of subjects in each cell fixed, and assuming no difference between treatment arms.

Usage

1
PermEvents(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 data after permutation.


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