This function reads fertility rate data and Beta value from an Excel file, processes it, and exports the results to a new Excel file for the species, including population matrices and calculated alpha/beta values.
run_analysis()No return value. Called for side effects (reading data, writing Excel files, and printing messages).
The function relies on functions from the readxl and openxlsx packages to handle Excel files.
The following external functions are used:
excel_sheets: List all sheet names in an Excel file.
read_excel: Read data from an Excel file.
createWorkbook: Create a new Excel workbook.
addWorksheet: Add a worksheet to a workbook.
writeData: Write data to a worksheet.
saveWorkbook: Save the workbook to a file.
Please refer to the documentation of those packages for more details.
excel_sheets,
read_excel,
createWorkbook,
addWorksheet,
writeData,
saveWorkbook