folders: A character vector with the paths to the folders containing the HRV files. Each folder should contain the HRV files of a group.
correctionMethod: The method to correct for multiple comparisons. Can be one of "bonferroni", "holm", "hochberg", "hommel", "BH", "BY", "fdr" and "none". Default is "bonferroni".
verbose: Logical. If TRUE, the function will show a progress bar and print additional information to the console.
format: The format of the HRV files. Can be one of "WFDB", "Ascii", "RR", "Polar", "Suunto", "EDFPlus" and "Ambit".
typeAnalysis: The type of frequency analysis to perform. Can be one of "fourier" or "wavelet".
significance: The significance level to use in the statistical analysis. By default, it is set to 0.05.
nonLinear: Logical. If TRUE, the function will compute non-linear indices. It should be noted that this process is computationally expensive.
doRQA: Logical. If TRUE, the function will compute Recurrence Quantification Analysis (RQA) indices. This parameter is ignored if nonLinear is set to FALSE.It should be noted that this process is computationally expensive.
nJobs: The number of parallel jobs to use. nJobs <= 0 uses all cores available. By default, it is set to 1.
saveHRVIndicesInPath: The path where the HRV indices will be saved as an excel file. If NULL, the indices will not be saved. See [SaveHRVIndices()] for more details.
...: Additional arguments for the HRV analysis. For further details, see the RHRV package.
Returns
An object of class RHRVEasyResult containing the HRV indices (slot $HRVIndices) and the statistical analysis results (slot $stats)