This function analyzes the given data and returns various statistics.
analyze_data(data, print_results = TRUE)
A data frame containing the data to be analyzed.
Logical value indicating whether to print the results. Default is TRUE.
A data frame with the analyzed statistics.