Package: ggsurvfit 1.1.0.9001

Daniel D. Sjoberg

ggsurvfit: Flexible Time-to-Event Figures

Ease the creation of time-to-event (i.e. survival) endpoint figures. The modular functions create figures ready for publication. Each of the functions that add to or modify the figure are written as proper 'ggplot2' geoms or stat methods, allowing the functions from this package to be combined with any function or customization from 'ggplot2' and other 'ggplot2' extension packages.

Authors:Daniel D. Sjoberg [aut, cre, cph], Mark Baillie [aut], Charlotta Fruechtenicht [aut], Steven Haesendonckx [aut], Tim Treis [aut]

ggsurvfit_1.1.0.9001.tar.gz
ggsurvfit_1.1.0.9001.zip(r-4.5)ggsurvfit_1.1.0.9001.zip(r-4.4)
ggsurvfit_1.1.0.9001.tgz(r-4.4-any)
ggsurvfit_1.1.0.9001.tar.gz(r-4.5-noble)ggsurvfit_1.1.0.9001.tar.gz(r-4.4-noble)
ggsurvfit_1.1.0.9001.tgz(r-4.4-emscripten)ggsurvfit_1.1.0.9001.tgz(r-4.3-emscripten)
ggsurvfit.pdf |ggsurvfit.html
ggsurvfit/json (API)
NEWS

# Install 'ggsurvfit' in R:
install.packages('ggsurvfit', repos = c('https://pharmaverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pharmaverse/ggsurvfit/issues

Pkgdown:https://www.danieldsjoberg.com

Datasets:
  • adtte - Example phase III clinical trial data set
  • df_colon - Formatted Copy of 'survival::colon'
  • df_lung - Formatted Copy of 'survival::lung'

On CRAN:

10.43 score 74 stars 2 packages 616 scripts 6.6k downloads 30 exports 40 dependencies

Last updated 7 months agofrom:055b7a7ad6. Checks:OK: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 13 2024
R-4.5-winOKDec 13 2024
R-4.5-linuxOKDec 13 2024
R-4.4-winOKDec 13 2024
R-4.4-macOKDec 13 2024

Exports:%+%%>%add_censor_markadd_confidence_intervaladd_legend_titleadd_pvalueadd_quantileadd_risktableadd_risktable_strata_symbolformat_pggcumincggplot_addggsurvfitggsurvfit_align_plotsggsurvfit_buildgrid.drawscale_ggsurvfitstat_stepribbonStatStepribbonSurvSurv_CNSRsurvfitsurvfit2survfit2_ptheme_ggsurvfit_defaulttheme_ggsurvfit_KMunicatetheme_risktable_boxedtheme_risktable_defaulttidy_cuminctidy_survfit

Dependencies:backportsbroomclicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepatchworkpillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Themes

Rendered fromthemes.Rmdusingknitr::rmarkdownon Dec 13 2024.

Last update: 2022-10-04
Started: 2022-08-11

Readme and manuals

Help Manual

Help pageTopics
Add Censor Markingadd_censor_mark
Add Confidence Intervaladd_confidence_interval
Add Legend Titleadd_legend_title
Add p-valueadd_pvalue
Add Quantile Annotationadd_quantile
Add risk tableadd_risktable
Use Symbol for Strata in Risk Tableadd_risktable_strata_symbol
Example phase III clinical trial data setadtte
Formatted Copy of 'survival::colon'df_colon
Formatted Copy of 'survival::lung'df_lung
Format p-valueformat_p
Plot Cumulative Incidenceggcuminc
Plot Survival Probabilityggsurvfit
Align Plotsggsurvfit_align_plots
Build 'ggsurvfit' Objectggsurvfit_build
Global Optionsggsurvfit_options
Apply Scalesscale_ggsurvfit
Step ribbon statisticStatStepribbon stat_stepribbon stepribbon
Create a Survival Outcome from CDISC DataSurv_CNSR
Create survival curvessurvfit2
Calculate p-valuesurvfit2_p
Survfit Plot Themestheme_ggsurvfit theme_ggsurvfit_default theme_ggsurvfit_KMunicate
Risk Table Themestheme_risktable theme_risktable_boxed theme_risktable_default
Tidy a cuminc objecttidy_cuminc
Tidy a survfit objecttidy_survfit