Iterates through a list of 'BioThermR' objects, extracts the pre-calculated statistics
(from analyze_thermal_stats), and aggregates them into a single summary data frame.
This function transforms the nested list structure into a flat, tabular format (Tidy Data)
suitable for downstream statistical analysis (ANOVA, t-test) or visualization.
Arguments
- img_list
A list of 'BioThermR' objects (typically the output of a batch processing workflow). Note:
analyze_thermal_statsmust be run on these objects first to populate the 'stats' slot.
Value
A data.frame where:
Rows represent individual images.
Columns include 'Filename' and all metrics computed by
analyze_thermal_stats(e.g., Min, Max, Mean, Median, SD, IQR, CV, Peak_Density).
Examples
# \donttest{
# 1. Import and Process
img_obj_list <- system.file("extdata",package = "BioThermR")
img_list <- read_thermal_batch(img_obj_list)
#> Reading 30 files...
#> Batch read completed. Imported 30 files.
img_list <- lapply(img_list, analyze_thermal_stats)
# 2. Compile Results
df_results <- compile_batch_stats(img_list)
#> Compiling statistics for 30 images...
# }