Learn R Programming

StablePopulation (version 1.0.3)

run_analysis: Run Analysis on Excel Data and Export Results

Description

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.

Usage

run_analysis()

Arguments

Value

No return value. Called for side effects (reading data, writing Excel files, and printing messages).

Details

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.

See Also

excel_sheets, read_excel, createWorkbook, addWorksheet, writeData, saveWorkbook