View source: R/data_handling.R
collate_one_dat | R Documentation |
collate_one_dat
parses one Vortex .dat or .stdat file, and returns the
data within as one data.frame.
collate_one_dat(filename, runs, dec_sep = ".", verbose = FALSE)
filename |
The fully qualified filename of a Vortex .dat or .stdat file |
runs |
The number of simulation runs |
dec_sep |
Decimal separator (default ".") |
verbose |
Progress messages, default: FALSE |
A data.frame with data from one .dat or .stdat file and population/scenario names as factors
# 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.