Learn R Programming

easysurv (version 2.0.1)

quick_start3: Launch Example Survival Analysis Script using the easy_adtte Data Set

Description

This function launches an example script for starting survival analysis using the easysurv package. The script uses simulated phase III breast cancer trial data available from the ggsurvfit package. The code is inspired by usethis::use_template() but modified to work outside the context of an .RProj or package.

Usage

quick_start3(output_file_name = NULL)

Value

A new R script file with example code.

Arguments

output_file_name

Optional. A file name to use for the script. Defaults to "easysurv_start.R" within a helper function.

Examples

Run this code
quick_start3()

Run the code above in your browser using DataLab