View source: R/empirical_mode_decomposition.R
CombineTrials | R Documentation |
This function gathers trial files from multiple directories, renumbers them, and saves them to a single directory for processing using EEMDCompile
.
CombineTrials(in.dirs, out.dir, copy=TRUE)
in.dirs |
Directories containing trial file sets from one EEMD run. |
out.dir |
Directory in which to save all trial files. |
copy |
Copy files ( |
Parallel processing is an efficient method for running EEMD. However, this will result in several directories, each with trial files numbered from 1 to N. These files cannot simply be copied together into the same directory, because then they would overwrite each other. This function gathers all trial files in multiple directories, renumbers them, and saves them in a different directory.
The trial files are saved in the directory specified by out.dir
.
Daniel Bowman danny.c.bowman@gmail.com
EEMD
, EEMDCompile
#Suppose you have run 3 different EEMD sets of 100 trials each
#and saved the results in EEMD1, EEMD2, EEMD3, respectively:
in.dirs <- c("/home/user/EEMD1", "/home/user/EEMD2/", "/home/user/EEMD3")
out.dir <- "/home/user/all.trials"
## Not run: CombineTrials(in.dirs, out.dir)
#Now all your trials should be located in /home/user/all.trials,
#numbered 1 through 300
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.