Package: simtrial 0.4.2
simtrial: Clinical Trial Simulation
Provides some basic routines for simulating a clinical trial. The primary intent is to provide some tools to generate trial simulations for trials with time to event outcomes. Piecewise exponential failure rates and piecewise constant enrollment rates are the underlying mechanism used to simulate a broad range of scenarios such as those presented in Lin et al. (2020) <doi:10.1080/19466315.2019.1697738>. However, the basic generation of data is done using pipes to allow maximum flexibility for users to meet different needs.
Authors:
simtrial_0.4.2.tar.gz
simtrial_0.4.2.zip(r-4.5)simtrial_0.4.2.zip(r-4.4)simtrial_0.4.2.zip(r-4.3)
simtrial_0.4.2.tgz(r-4.4-x86_64)simtrial_0.4.2.tgz(r-4.4-arm64)simtrial_0.4.2.tgz(r-4.3-x86_64)simtrial_0.4.2.tgz(r-4.3-arm64)
simtrial_0.4.2.tar.gz(r-4.5-noble)simtrial_0.4.2.tar.gz(r-4.4-noble)
simtrial_0.4.2.tgz(r-4.4-emscripten)simtrial_0.4.2.tgz(r-4.3-emscripten)
simtrial.pdf |simtrial.html✨
simtrial/json (API)
NEWS
# Install 'simtrial' in R: |
install.packages('simtrial', repos = c('https://merck.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/merck/simtrial/issues
Pkgdown site:https://merck.github.io
- ex1_delayed_effect - Time-to-event data example 1 for non-proportional hazards working group
- ex2_delayed_effect - Time-to-event data example 2 for non-proportional hazards working group
- ex3_cure_with_ph - Time-to-event data example 3 for non-proportional hazards working group
- ex4_belly - Time-to-event data example 4 for non-proportional hazards working group
- ex5_widening - Time-to-event data example 5 for non-proportional hazards working group
- ex6_crossing - Time-to-event data example 6 for non-proportional hazards working group
- mb_delayed_effect - Simulated survival dataset with delayed treatment effect
Last updated 8 days agofrom:ea8891489d. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 09 2025 |
R-4.5-win-x86_64 | OK | Jan 09 2025 |
R-4.5-linux-x86_64 | OK | Jan 09 2025 |
R-4.4-win-x86_64 | OK | Jan 09 2025 |
R-4.4-mac-x86_64 | OK | Jan 09 2025 |
R-4.4-mac-aarch64 | OK | Jan 09 2025 |
R-4.3-win-x86_64 | OK | Jan 09 2025 |
R-4.3-mac-x86_64 | OK | Jan 09 2025 |
R-4.3-mac-aarch64 | OK | Jan 09 2025 |
Exports:as_gtcounting_processcreate_cutcreate_testcut_data_by_datecut_data_by_eventearly_zerofhfit_pwexpget_analysis_dateget_cut_date_by_eventmaxcombombmilestonemultitestrandomize_by_fixed_blockrmstrpwexprpwexp_enrollsim_fixed_nsim_gs_nsim_pw_survto_sim_pw_survwlr
Dependencies:codetoolsdata.tabledigestdoFutureforeachfuturefuture.applyglobalsiteratorslatticelistenvMatrixmvtnormparallellyRcppsurvival
Approximating an arbitrary hazard function
Rendered fromarbitrary-hazard.Rmd
usingknitr::rmarkdown
on Jan 09 2025.Last update: 2024-05-07
Started: 2023-11-28
Basic tools for time-to-event trial simulation and testing
Rendered fromroutines.Rmd
usingknitr::rmarkdown
on Jan 09 2025.Last update: 2024-05-07
Started: 2023-11-28
Computing p-values for Fleming-Harrington weighted logrank tests and the MaxCombo test
Rendered frommaxcombo.Rmd
usingknitr::rmarkdown
on Jan 09 2025.Last update: 2024-05-07
Started: 2024-04-11
Restricted mean survival time (RMST)
Rendered fromrmst.Rmd
usingknitr::rmarkdown
on Jan 09 2025.Last update: 2024-07-23
Started: 2024-02-05
Simulating time-to-event trials in parallel
Rendered fromparallel.Rmd
usingknitr::rmarkdown
on Jan 09 2025.Last update: 2024-08-08
Started: 2023-09-25
TTE simulation data manipulations
Rendered fromworkflow.Rmd
usingknitr::rmarkdown
on Jan 09 2025.Last update: 2024-08-08
Started: 2023-05-30
Using the Magirr-Burman weights for testing
Rendered frommodest-wlrt.Rmd
usingknitr::rmarkdown
on Jan 09 2025.Last update: 2024-08-08
Started: 2023-11-28