Description Usage Arguments Value Examples
View source: R/data_handling.R
collate_one_dat
parses one Vortex .dat or .stdat file, and returns the
data within as one data.frame.
1 | collate_one_dat(filename, runs, verbose = FALSE)
|
filename |
The fully qualified filename of a Vortex .dat or .stdat file |
runs |
The number of simulation runs |
verbose |
Progress messages, default: FALSE |
A data.frame with data from one .dat or .stdat file and population/scenario names as factors
1 2 3 4 5 | # Pacioni et al. example files. See ?pacioni for more details.
require(vortexRdata)
pac.dir <- system.file('extdata', 'pacioni', package='vortexRdata')
f <- file.path(pac.dir, 'Pacioni_et_al_ST_Classic(Base).stdat')
one.st.classic <- collate_one_dat(f, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.