cschwarz-stat-sfu-ca / BTSPAS

Bayesian Time Stratified Petersen Analysis System
1 stars 3 forks source link

convert plots to ggplot and store with final object; similarly store reports with final object #9

Closed cschwarz-stat-sfu-ca closed 5 years ago

cschwarz-stat-sfu-ca commented 5 years ago

Convert to ggplot Create a function to take plots in object and create the files as is now done by btspas

cschwarz-stat-sfu-ca commented 5 years ago

All plots converted to ggplots. The report is now sent to a textConnection. The save.output.to.files argument in the call controls if output files with plots/reports are created (default). The ggplots object and the report are also stored in the final object returned from the fit.