power2events: Calculate Schoenfeld or Event Proportion based event numbers...

Description Usage Arguments Value

View source: R/power_functions.R

Description

Calculate Schoenfeld or Event Proportion based event numbers from power

Usage

1
power2events(power, HR, ratio = 1, alpha1 = 0.025)

Arguments

power

Desired power (decimal).

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

Required event number


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