summarise_analysis {gestate}R Documentation

Summarise analyses of simulations of time-to-event data using arbitrary event, censoring and recruitment distributions.

Description

Function for summarising the analyses of simulated time-to-event trial data produced by analyse_sim().
Automatically reads in format from analyse_sim(); no other input format is supported.
It automatically detects types of analysis performed and provides relevant summaries (log-rank, Cox, RMST, landmark).

Usage

summarise_analysis(analysed_results, alpha1 = 0.025)

Arguments

analysed_results

Output file from analyse_sim(). Only analyse_sim() output is supported.

alpha1

1-sided alpha to be used for analysis. Default=0.025.

Value

Returns a table with one row. Table contains the following columns:

Author(s)

James Bell

Examples

example_sim <- simulate_trials(active_ecurve=Weibull(250,0.8),control_ecurve=Weibull(100,1),
rcurve=LinearR(12,100,100), assess=40, iterations=5,seed=12345,detailed_output=TRUE)

example_analysis1 <- analyse_sim(example_sim)
example_analysis2 <- analyse_sim(data=example_sim,RMST=30,landmark=30)

example_summary1 <- summarise_analysis(example_analysis1)
example_summary2 <- summarise_analysis(example_analysis2)

[Package gestate version 1.6.0 Index]