Package: rfacts 0.2.1.9000

William Michael Landau

rfacts: R Interface to 'FACTS' on Unix-Like Systems

The 'rfacts' package is an R interface to the Fixed and Adaptive Clinical Trial Simulator ('FACTS') on Unix-like systems. It programmatically invokes 'FACTS' to run clinical trial simulations, and it aggregates simulation output data into tidy data frames. These capabilities provide end-to-end automation for large-scale simulation pipelines, and they enhance computational reproducibility. For more information on 'FACTS' itself, please visit <https://www.berryconsultants.com/software/>.

Authors:William Michael Landau [aut, cre], Eli Lilly and Company [cph]

rfacts_0.2.1.9000.tar.gz
rfacts_0.2.1.9000.zip(r-4.5)rfacts_0.2.1.9000.zip(r-4.4)rfacts_0.2.1.9000.zip(r-4.3)
rfacts_0.2.1.9000.tgz(r-4.4-any)rfacts_0.2.1.9000.tgz(r-4.3-any)
rfacts_0.2.1.9000.tar.gz(r-4.5-noble)rfacts_0.2.1.9000.tar.gz(r-4.4-noble)
rfacts_0.2.1.9000.tgz(r-4.4-emscripten)rfacts_0.2.1.9000.tgz(r-4.3-emscripten)
rfacts.pdf |rfacts.html
rfacts/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/elilillyco/rfacts/issues

On CRAN:

clinical-trialsfactssimulation

41 exports 6 stars 1.18 score 14 dependencies 10 scripts 202 downloads

Last updated 2 years agofrom:6b7c160a41. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 13 2024
R-4.5-winOKSep 13 2024
R-4.5-linuxOKSep 13 2024
R-4.4-winOKSep 13 2024
R-4.4-macOKSep 13 2024
R-4.3-winOKSep 13 2024
R-4.3-macOKSep 13 2024

Exports:get_csv_filesget_facts_engineget_facts_file_exampleget_facts_scenariosget_facts_versionget_facts_versionsget_param_dirsget_param_filesoverwrite_csv_filesprep_param_filesread_cohortsread_csv_specialread_factsread_master_mcmcread_master_patientsread_master_weeksread_mcmcread_patientsread_s1_mcmcread_s1_patientsread_s1_weeksread_s2_mcmcread_s2_patientsread_s2_weeksread_simulationsread_weeksreset_rfacts_pathsrfacts_pathsrfacts_sitreprun_enginerun_engine_aipf_continrun_engine_aipf_dichotrun_engine_aipf_tterun_engine_continrun_engine_crmrun_engine_dichotrun_engine_multeprun_engine_tterun_factsrun_flfllwrite_facts

Dependencies:clidigestfansifsgluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrsxml2

Generating FACTS files

Rendered fromgenerate.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2021-01-07
Started: 2020-12-02

System configuration

Rendered fromconfig.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2020-10-13
Started: 2020-09-17

Trial execution mode

Rendered fromte.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2020-10-07
Started: 2020-09-17

Readme and manuals

Help Manual

Help pageTopics
rfacts: interface to FACTS on Unix-like systemsrfacts-package rfacts
Engine-specific trial simulation functionsfacts_engines run_engine_aipf_contin run_engine_aipf_dichot run_engine_aipf_tte run_engine_contin run_engine_crm run_engine_dichot run_engine_multep run_engine_tte
Read trial simulation resultsfacts_results read_cohorts read_csv_special read_master_mcmc read_master_patients read_master_weeks read_mcmc read_patients read_s1_mcmc read_s1_patients read_s1_weeks read_s2_mcmc read_s2_patients read_s2_weeks read_simulations read_weeks
List FACTS-generated CSV filesget_csv_files
Get the FACTS engine function matching your FACTS fileget_facts_engine
Locate an example FACTS fileget_facts_file_example
List the names of simulation scenariosget_facts_scenarios
Get FACTS version matching your FACTS fileget_facts_version
List supported FACTS versionsget_facts_versions
List the directories containing param filesget_param_dirs
List the paths to the param filesget_param_files
Overwrite FACTS CSV output filesoverwrite_csv_files
Arrange the param files for the engines ahead of time.prep_param_files
Read parts of FACTS files.read_facts
Reset system dependency inforeset_rfacts_paths
Read paths to rfacts system dependenciesrfacts_paths
Check configuration of system dependenciesrfacts_sitrep
Run trial simulationsrun_engine
Run FACTSrun_facts
Generate param files to prepare for trial simulationsrun_flfll
Write modified FACTS files.write_facts