quick_start: Launch Example Survival Analysis Script using the easy_lung...

View source: R/quick_starts.R

quick_startR Documentation

Launch Example Survival Analysis Script using the easy_lung Data Set

Description

This function launches an example script for starting survival analysis using the easysurv package. The script uses a modified version of the lung data set exported from the survival package. The code is inspired by usethis::use_template() but modified to work outside the context of an .RProj or package.

Usage

quick_start(output_file_name = NULL)

Arguments

output_file_name

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

Value

A new R script file with example code.

Examples

quick_start()

easysurv documentation built on June 24, 2024, 9:09 a.m.