RHRVEasy | R Documentation |
Run a full HRV analysis including indices computation and statistical analysis
RHRVEasy(
folders,
correctionMethod = c("bonferroni", "holm", "hochberg", "hommel", "BH", "BY", "fdr",
"none"),
verbose = FALSE,
format = "RR",
typeAnalysis = c("fourier", "wavelet"),
significance = 0.05,
nonLinear = FALSE,
doRQA = FALSE,
nJobs = 1,
saveHRVIndicesInPath = NULL,
...
)
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. |
An object of class 'RHRVEasyResult' containing the HRV indices (slot '$HRVIndices') and the statistical analysis results (slot '$stats')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.