Description Usage Arguments Value

View source: R/calculate_numbers_of_events_continuous_variable.R

#' Calculate the number of events for a continuous covariate (based on Schoenfeld's formula) Reference: "Sample-Size Calculations for the Cox Proportional Hazards Regression Model with Nonbinary Covariates" by F.Y. Hsieh, PhD, and Philip W. Lavori, PhD (2000)

1 | ```
required_events_biomarker(alpha, beta, HR, sigma)
``` |

`alpha` |
1-sided Alpha (Type I error) |

`beta` |
Type II error |

`HR` |
Hazard ratio associated with a one-unit change in a continuous covariate (X1) |

`sigma` |
standard deviation of the continuous covariate (X1) |

Number of events required

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.