ieegio_sample_data {ieegio} | R Documentation |
Download sample files
Description
Download sample files
Usage
ieegio_sample_data(file, test = FALSE, cache_ok = TRUE)
Arguments
file |
file to download; set to |
test |
test whether the sample file exists instead of downloading them;
default is |
cache_ok |
whether to use cache |
Value
When test
is false, returns downloaded file path
(character); when test
is true, returns whether the expected
sample exists (logical).
Examples
# list available files
ieegio_sample_data()
# check if file edfPlusD.edf exists
ieegio_sample_data("edfPlusD.edf", test = TRUE)
## Not run:
ieegio_sample_data("edfPlusD.edf")
## End(Not run)
[Package ieegio version 0.0.1 Index]