required_events: Calculate number of events

Description Usage Arguments Value

View source: R/calculate_numbers_of_events.R

Description

Based on Schoenfeld's formula

Usage

1
required_events(alpha, beta, HR, v = 0.5)

Arguments

alpha

1-sided alpha (Type I error)

beta

Type II error

HR

Assumed effect size

v

Proportion of patients that are assigned to the intervention arm (Default is 0.5)

Value

Number of events required


th-zelniker/TIMI documentation built on Oct. 17, 2018, 2:21 a.m.