This function takes the results from a statistical analysis, processes the data to extract relevant statistics, and exports the processed data to an Excel file.

export_results(results, file)

Arguments

results

A list containing the results of a statistical analysis. The list should have a component named table_body which is a data frame containing the raw data.

file

A string specifying the path to the output Excel file.

Value

None. The function writes the processed data to an Excel file.

Examples

if (FALSE) { # \dontrun{
# Example usage:
export_results(results = your_survey_results, file = "path/to/export/file.xlsx")
} # }