Package: EventPredInCure 1.0

EventPredInCure: Event Prediction Including Cured Population

Predicts enrollment and events assumed enrollment and treatment-specific time-to-event models, and calculates test statistics for time-to-event data with cured population based on the simulation.Methods for prediction event in the existence of cured population are as described in : Chen, Tai-Tsang(2016) <doi:10.1186/s12874-016-0117-3>.

Authors:Bo Wei [aut, cre], Kaifeng Lu [aut], Brent McHenry [aut]

EventPredInCure_1.0.tar.gz
EventPredInCure_1.0.zip(r-4.5)EventPredInCure_1.0.zip(r-4.4)EventPredInCure_1.0.zip(r-4.3)
EventPredInCure_1.0.tgz(r-4.4-any)EventPredInCure_1.0.tgz(r-4.3-any)
EventPredInCure_1.0.tar.gz(r-4.5-noble)EventPredInCure_1.0.tar.gz(r-4.4-noble)
EventPredInCure_1.0.tgz(r-4.4-emscripten)EventPredInCure_1.0.tgz(r-4.3-emscripten)
EventPredInCure.pdf |EventPredInCure.html
EventPredInCure/json (API)

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

Peer review:

Datasets:
  • finalData - Final enrollment and event data after achieving the target number of events
  • interimData1 - Interim enrollment and event data before enrollment completion
  • interimData2 - Interim enrollment and event data after enrollment completion

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 149 downloads 26 exports 95 dependencies

Last updated 11 months agofrom:6d18c9ea82. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winNOTENov 09 2024
R-4.5-linuxNOTENov 09 2024
R-4.4-winNOTENov 09 2024
R-4.4-macNOTENov 09 2024
R-4.3-winNOTENov 09 2024
R-4.3-macNOTENov 09 2024

Exports:b4pstChen_2016_event_timeChen_2016_event_time_abovetime0Chen_2016_event_time_piecewise_exp_abovetime0FH_testfitDropoutfitEnrollmentfitEventgetPredictionloglik_Chen_exponentialloglik_Chen_log_logisticloglik_Chen_log_normalloglik_Chen_piecewise_exponentialloglik_Chen_weibullpredictEnrollmentpredictEventsmedSP_Chen_exponentialSP_Chen_log_logisticSP_Chen_log_normalSP_Chen_piecewise_exponentialSP_Chen_weibullsummarizeObservedtest_plottest_procedurette

Dependencies:askpassassertthatbase64encbbmlebdsmatrixBHbslibcachemclicolorspacecpp11crosstalkcurldata.tabledeSolvedigestdplyrerifyevaluateexpmfansifarverfastGHQuadfastmapflexsurvfontawesomefsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttrisobandjquerylibjsonliteKMsurvknitrlabelinglaterlatticelazyevallifecyclelubridatemagrittrMASSMatrixmemoisemgcvmimeMLEcensmsmmstatemuhazmunsellmvtnormnlmenumDerivopensslpermpillarpkgconfigplotlypromisespurrrquadprogR6rappdirsRColorBrewerRcppRcppArmadillorlangrmarkdownrstpm2sassscalesstatmodstringistringrsurvivalsystibbletidyrtidyselecttimechangetinytextmvtnsimutf8vctrsviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Event Prediction Including Cured PopulationEventPredInCure-package
Function to calculate survival time and censor variables before and post a time lag (delay treatment effect time)b4pst
Function to generate event time in the existence of cured populationChen_2016_event_time
Function to generate event time based on Chen 2016 method for ongoing subjectChen_2016_event_time_abovetime0
Function to generate event time with piecewise exponential distribution for ongoing subject in the existence of cured populationChen_2016_event_time_piecewise_exp_abovetime0
Fleming-Harrington weighted log-rank testsFH_test
Final enrollment and event data after achieving the target number of eventsfinalData
Fit time-to-dropout modelfitDropout
Fit enrollment modelfitEnrollment
Fit time-to-event modelfitEvent
Enrollment and event predictiongetPrediction
Interim enrollment and event data before enrollment completioninterimData1
Interim enrollment and event data after enrollment completioninterimData2
Log-likelihood function for exponential distribution with cured populationloglik_Chen_exponential
Log-likelihood function for log-logistic distribution with cured populationloglik_Chen_log_logistic
Log-likelihood function for log-normal distribution with cured populationloglik_Chen_log_normal
Log-likelihood function for piecewise-exponential distribution with cured populationloglik_Chen_piecewise_exponential
Log-likelihood function for Weibull distribution with cured populationloglik_Chen_weibull
Predict enrollmentpredictEnrollment
Predict event time for ongoing subjects with or without cured population.predictEvent
Function to output summary statistics from survfit function outputsmed
Survival probability function of the exponential distribution with cured populationSP_Chen_exponential
Survival probability function of the log-logistic distribution with cured populationSP_Chen_log_logistic
Survival probability function of the log-normal distribution with cured populationSP_Chen_log_normal
Survival probability function of the piecewise exponential distribution with cured populationSP_Chen_piecewise_exponential
Survival probability function of the Weibull distribution with cured populationSP_Chen_weibull
Summarize observed datasummarizeObserved
Function to plot KM plot for time-to-event data in simulationtest_plot
Function to provide summary and test statistics based on simulation.test_procedure
Calculating log-rank test p-value, median time from each arm, hazard ratio between two arms, number of subjects and events in time-to-event outcomes.tte