save_analysis: Save Analysis
Description
Saves analysis results, both data and plot, into an .xlsx file
Usage
save_analysis(data, plot, filename, filepath)
Arguments
- data
Data to be saved (required)
- plot
Plot to be saved (optional)
- filename
Name of the Excel file in a string format without the .xlsx extension. Example: "analysis_results" (required)
- filepath
Path for the file. Example: "Documents/" (required)