A list of results from applying the function over the parameters.
Arguments
lists
A list of lists containing the parameters for the function.
func
The function to be applied.
num_cores
The number of cores to use for parallel execution. Default is one less than the total number of available cores.
show_progress
Logical indicating whether to display the progress bar. Default is TRUE.
Details
The function ensures that all elements in the list have the same length and uses `pbapply::pbmapply` for parallel processing.
It sets the number of cores based on the operating system and then applies the function in parallel.