render_reg_report_shiny.RdRender shiny regression report. Bookdown files are copied into the working directory and the report is generated in the working directory. Suggest to change to a temp directory before running.
render_reg_report_shiny( stock_var, epus_var = "MAB", region_var = "Mid", remove_var = FALSE, lag_var = 0, save_var = TRUE, file_var )
| stock_var | Species common name |
|---|---|
| epus_var | EPU to use |
| region_var | Stock region |
| remove_var | Whether or not to remove the past 10 years of data |
| lag_var | How many years to lag the correlation by |
| save_var | Whether or not to save the data files as .csv |
| file_var | The name of the zip file produced |