events2power: Calculate Schoenfeld or Event Proportion power from number of...

Description Usage Arguments Value

View source: R/power_functions.R

Description

Calculate Schoenfeld or Event Proportion power from number of events

Usage

1
events2power(events, HR, ratio = 1, alpha1 = 0.025)

Arguments

events

Number of events.

HR

Hazard Ratio. Values below 1 indicate a benefit to the active arm vs control.

ratio

Randomisation ratio (Schoenfeld), or event ratio (event proportion method). Default=1.

alpha1

1-sided alpha. Default=0.025.

Value

Power as a decimal


gestate documentation built on Feb. 20, 2020, 5:08 p.m.