Last updated: 2023-11-13
Checks: 5 2
Knit directory: multistate2/
This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
The R Markdown is untracked by Git. To know which version of the R
Markdown file created these results, you’ll want to first commit it to
the Git repo. If you’re still working on the analysis, you can ignore
this warning. When you’re finished, you can run
wflow_publish
to commit the R Markdown file and build the
HTML.
Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.
The command set.seed(20230211)
was run prior to running
the code in the R Markdown file. Setting a seed ensures that any results
that rely on randomness, e.g. subsampling or permutations, are
reproducible.
Great job! Recording the operating system, R version, and package versions is critical for reproducibility.
Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.
Using absolute paths to the files within your workflowr project makes it difficult for you and others to run your code on a different machine. Change the absolute path(s) below to the suggested relative path(s) to make your code more reproducible.
absolute | relative |
---|---|
~/multistate2//code/smoothtest.R | code/smoothtest.R |
~/multistate2//code/newsmooth.R | code/newsmooth.R |
~/multistate2/code/fitarray.R | code/fitarray.R |
~/multistate2/code/arrayindicate.R | code/arrayindicate.R |
~/multistate2//code/utils.R | code/utils.R |
~/multistate2/code/frs30_URBUT/fun.frs_30ynew.R | code/frs30_URBUT/fun.frs_30ynew.R |
~/multistate2/code/plotting_code.R | code/plotting_code.R |
~/multistate2//output/dfascvd_newbp.rds | output/dfascvd_newbp.rds |
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version 890bf66. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for
the analysis have been committed to Git prior to generating the results
(you can use wflow_publish
or
wflow_git_commit
). workflowr only checks the R Markdown
file, but you know if there are other scripts or data files that it
depends on. Below is the status of the Git repository when the results
were generated:
Ignored files:
Ignored: .DS_Store
Ignored: analysis/.DS_Store
Ignored: code/.DS_Store
Ignored: data/
Ignored: lesliepics/.DS_Store
Ignored: output/
Ignored: plots/.DS_Store
Untracked files:
Untracked: Figure3.Rmd
Untracked: analysis/Fig1_proportionmap.Rmd
Untracked: analysis/Fig1_proportionmap.textClipping
Untracked: analysis/Figure3.Rmd
Untracked: analysis/Figure3.nb.html
Untracked: analysis/Figure4.Rmd
Untracked: analysis/Figure5.Rmd
Untracked: analysis/massive_cache/
Untracked: creting.R
Untracked: plotsfortaks/cadage.pdf
Untracked: plotsfortaks/statage_ecdf.pdf
Untracked: slide6.png
Unstaged changes:
Modified: analysis/.Rhistory
Modified: analysis/Untitled.R
Modified: analysis/index.Rmd
Modified: analysis/massive.Rmd
Modified: analysis/missing_code.tsv
Modified: analysis/predicted_risks.Rmd
Modified: analysis/survcumten.Rmd
Modified: analysis/table1.R
Modified: code/plotting_code.R
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
There are no past versions. Publish this analysis with
wflow_publish()
to start tracking its development.
We fit the model and plot the ten year versus lifetime absolute risk reduction for inddividuals starting from health.
Now marginalized across all states and covariate profiles:
R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.0
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: America/Chicago
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggridges_0.5.4 cowplot_1.1.1 babynames_1.0.1 gapminder_1.0.0
[5] carData_3.0-5 plotly_4.10.2 DT_0.30 gt_0.9.0
[9] RColorBrewer_1.1-3 data.table_1.14.8 pROC_1.18.4 rsq_2.5
[13] survMisc_0.5.6 gridExtra_2.3 ggfortify_0.4.16 eulerr_7.0.0
[17] survminer_0.4.9 ggpubr_0.6.0 survival_3.5-5 lubridate_1.9.2
[21] forcats_1.0.0 stringr_1.5.0 purrr_1.0.1 readr_2.1.4
[25] tidyr_1.3.0 tibble_3.2.1 ggplot2_3.4.4 tidyverse_2.0.0
[29] dplyr_1.1.3 ggsci_3.0.0 reshape2_1.4.4
loaded via a namespace (and not attached):
[1] tidyselect_1.2.0 viridisLite_0.4.2 farver_2.1.1 lazyeval_0.2.2
[5] fastmap_1.1.1 promises_1.2.0.1 digest_0.6.33 timechange_0.2.0
[9] lifecycle_1.0.3 Deriv_4.1.3 magrittr_2.0.3 compiler_4.3.1
[13] rlang_1.1.1 sass_0.4.7 tools_4.3.1 utf8_1.2.4
[17] yaml_2.3.7 knitr_1.43 ggsignif_0.6.4 labeling_0.4.2
[21] htmlwidgets_1.6.2 xml2_1.3.5 plyr_1.8.8 abind_1.4-5
[25] workflowr_1.7.0 withr_2.5.2 grid_4.3.1 fansi_1.0.5
[29] git2r_0.32.0 xtable_1.8-4 colorspace_2.1-0 scales_1.2.1
[33] MASS_7.3-60 cli_3.6.1 rmarkdown_2.23 generics_0.1.3
[37] rstudioapi_0.15.0 km.ci_0.5-6 httr_1.4.6 tzdb_0.4.0
[41] minqa_1.2.5 cachem_1.0.8 splines_4.3.1 vctrs_0.6.4
[45] boot_1.3-28.1 Matrix_1.6-0 jsonlite_1.8.7 car_3.1-2
[49] hms_1.1.3 rstatix_0.7.2 jquerylib_0.1.4 glue_1.6.2
[53] nloptr_2.0.3 stringi_1.7.12 gtable_0.3.3 later_1.3.1
[57] lme4_1.1-34 munsell_0.5.0 pillar_1.9.0 htmltools_0.5.5
[61] R6_2.5.1 KMsurv_0.1-5 rprojroot_2.0.3 evaluate_0.21
[65] lattice_0.21-8 highr_0.10 backports_1.4.1 broom_1.0.5
[69] httpuv_1.6.11 bslib_0.5.0 Rcpp_1.0.11 nlme_3.1-162
[73] xfun_0.39 fs_1.6.3 zoo_1.8-12 pkgconfig_2.0.3