Useful function for meta analyses when multiple models are stored in one folder and can be read with NMscanData using the same arguments.
NMscanMultiple(files, dir, file.pattern, as.fun, ...)
File paths to the models (control stream) to edit. See file.pattern too.
The directory in which to find the models. Passed to list.files(). See file.pattern argument too.
The pattern used to match the filenames to
read with NMscanData. Passed to list.files(). If
files is not (or is
".*\.lst" which means all files ending in
dir argument too.
The default is to return data as a data.frame. Pass a function (say tibble::as_tibble) in as.fun to convert to something else. If data.tables are wanted, use as.fun="data.table". The default can be configured using NMdataConf.
Additional arguments passed to NMscanData.
All results stacked, class as defined by as.fun