Last updated: 2023-10-09

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 file has unstaged changes. 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//output/dfascvd_newbp.rds output/dfascvd_newbp.rds
~/multistate2/code/frs30_URBUT/fun.frs_30ynew.R code/frs30_URBUT/fun.frs_30ynew.R

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 4b76234. 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:    output/
    Ignored:    plots/.DS_Store

Untracked files:
    Untracked:  CVRCUrbut.pdf
    Untracked:  analysis/upset.Rmd
    Untracked:  analysis/upset2.Rmd
    Untracked:  analysis/withtimeinstaate.pdf
    Untracked:  analysis/your_filename.pdf
    Untracked:  atriskforcad.pdf
    Untracked:  cvrcposterurbut.pdf
    Untracked:  plotsfortaks/
    Untracked:  timeline_diag_dataes.pdf
    Untracked:  timeline_plt.Cad.png
    Untracked:  timeline_plt.Dm.png
    Untracked:  timeline_plt.Ht.png
    Untracked:  timeline_plt.HyperLip.png
    Untracked:  timelinemotnage.pptx
    Untracked:  timelinepanel.pdf

Unstaged changes:
    Modified:   analysis/.Rhistory
    Modified:   analysis/NRI.Rmd
    Modified:   analysis/code.Rmd
    Modified:   analysis/fos.Rmd
    Modified:   analysis/newsaturm.Rmd
    Modified:   analysis/plottigcountsten.Rmd
    Modified:   analysis/predicted_risks.Rmd
    Modified:   analysis/prediction_threshod_test.Rmd
    Modified:   analysis/rmseanalysis.Rmd
    Modified:   analysis/survcumten.Rmd
    Modified:   analysis/table1.R
    Modified:   code/bootstra.R
    Modified:   prediction_threshod_test.Rmd

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.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/rmseanalysis.Rmd) and HTML (docs/rmseanalysis.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 0c7a6a2 Sarah Urbut 2023-09-24 Update
html 0c7a6a2 Sarah Urbut 2023-09-24 Update
Rmd 273d024 Sarah Urbut 2023-09-22 Update
html 273d024 Sarah Urbut 2023-09-22 Update
Rmd 291f497 Sarah Urbut 2023-09-15 Update
Rmd 15e88ea Sarah Urbut 2023-08-24 Update
html 15e88ea Sarah Urbut 2023-08-24 Update
Rmd 1bf132a Sarah Urbut 2023-08-24 Update
Rmd 7d24d01 Sarah Urbut 2023-08-23 update
Rmd dbdd930 Sarah Urbut 2023-08-23 Update
html dbdd930 Sarah Urbut 2023-08-23 Update

R Markdown

Health

[1] 0.3195976
[1] 0.3206732
[1] 6.083 6.120
[1] 0.7593414
[1] 0.2691174
[1] 33.599 10.909
[1] 0.03078152
[1] 0.06726451
[1] 0.592 2.247
[1] 0.03172793
[1] 0.06976412
[1] 0.611 2.346
[1] 0.03557008
[1] 0.04541186
[1] 0.679 1.337
[1] 0.03974571
[1] 0.03467187
[1] 0.744 1.134
[1] 0.04578238
[1] 0.0401413
[1] 0.866 1.064

Now do starting at Ht:

[1] 0.3652479
[1] 0.3586877
[1] 7.051 6.739
[1] 0.8381481
[1] 0.3421206
[1] 37.454 12.252
[1] 0.07090868
[1] 0.2324219
[1] 1.474 6.444
[1] 0.07118986
[1] 0.2338118
[1] 1.482 6.527
[1] 0.07232609
[1] 0.2219245
[1] 1.468 6.328
[1] 0.0713475
[1] 0.1671241
[1] 1.363 5.091
[1] 0.07144164
[1] 0.1758683
[1] 1.367 5.383
   user  system elapsed 
328.964  45.486 374.565 

Now do starting at Dm:

[1] 0.3792476
[1] 0.5489986
[1]  7.246 10.930
[1] 0.8218663
[1] 0.4696076
[1] 42.671 16.762
[1] 0.1863205
[1] 0.3020425
[1] 4.018 8.995
[1] 0.1914661
[1] 0.3102192
[1] 4.101 9.395
[1] 0.1896107
[1] 0.2994533
[1] 3.954 8.513
[1] 0.1849873
[1] 0.3065034
[1] 3.927 9.147
[1] 0.1853173
[1] 0.3041214
[1] 3.924 8.646
   user  system elapsed 
307.956  41.761 349.827 

HyperLip

[1] 0.3448147
[1] 0.3550656
[1] 7.027 7.028
[1] 0.8766512
[1] 0.4021383
[1] 35.912 12.575
[1] 0.1710908
[1] 0.3552907
[1] 3.461 9.932
[1] 0.1733144
[1] 0.358884
[1]  3.494 10.052
[1] 0.1620615
[1] 0.3139691
[1] 3.306 8.584
[1] 0.1711894
[1] 0.355333
[1] 3.485 9.834
[1] 0.1619477
[1] 0.3238291
[1] 3.325 9.011
   user  system elapsed 
309.548  42.638 352.298 

R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.5.2

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] ehaGoF_0.1.1       CVrisk_1.1.0       babynames_1.0.1    gapminder_1.0.0   
 [5] carData_3.0-5      plotly_4.10.2      DT_0.28            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   reshape_0.8.9     
[17] eulerr_7.0.0       survminer_0.4.9    ggpubr_0.6.0       survival_3.5-5    
[21] lubridate_1.9.2    forcats_1.0.0      stringr_1.5.0      purrr_1.0.1       
[25] readr_2.1.4        tidyr_1.3.0        tibble_3.2.1       ggplot2_3.4.3     
[29] tidyverse_2.0.0    dplyr_1.1.3        ggsci_3.0.0       

loaded via a namespace (and not attached):
 [1] rlang_1.1.1       magrittr_2.0.3    git2r_0.32.0      compiler_4.3.1   
 [5] vctrs_0.6.3       pkgconfig_2.0.3   fastmap_1.1.1     ellipsis_0.3.2   
 [9] backports_1.4.1   labeling_0.4.2    KMsurv_0.1-5      utf8_1.2.3       
[13] promises_1.2.0.1  rmarkdown_2.23    tzdb_0.4.0        nloptr_2.0.3     
[17] xfun_0.39         cachem_1.0.8      jsonlite_1.8.7    highr_0.10       
[21] later_1.3.1       Deriv_4.1.3       broom_1.0.5       R6_2.5.1         
[25] bslib_0.5.0       stringi_1.7.12    car_3.1-2         boot_1.3-28.1    
[29] jquerylib_0.1.4   Rcpp_1.0.11       knitr_1.43        zoo_1.8-12       
[33] httpuv_1.6.11     Matrix_1.6-0      splines_4.3.1     timechange_0.2.0 
[37] tidyselect_1.2.0  rstudioapi_0.15.0 abind_1.4-5       yaml_2.3.7       
[41] lattice_0.21-8    plyr_1.8.8        withr_2.5.0       evaluate_0.21    
[45] xml2_1.3.5        pillar_1.9.0      whisker_0.4.1     generics_0.1.3   
[49] rprojroot_2.0.3   hms_1.1.3         munsell_0.5.0     scales_1.2.1     
[53] minqa_1.2.5       xtable_1.8-4      glue_1.6.2        lazyeval_0.2.2   
[57] tools_4.3.1       lme4_1.1-34       ggsignif_0.6.4    fs_1.6.3         
[61] grid_4.3.1        crosstalk_1.2.0   colorspace_2.1-0  nlme_3.1-162     
[65] cli_3.6.1         km.ci_0.5-6       workflowr_1.7.0   fansi_1.0.4      
[69] viridisLite_0.4.2 gtable_0.3.3      rstatix_0.7.2     sass_0.4.7       
[73] digest_0.6.33     htmlwidgets_1.6.2 farver_2.1.1      htmltools_0.5.5  
[77] lifecycle_1.0.3   httr_1.4.6        MASS_7.3-60