powered by
Download sample files
ieegio_sample_data(file, test = FALSE, cache_ok = TRUE)
When test is false, returns downloaded file path (character); when test is true, returns whether the expected sample exists (logical).
test
file to download; set to NULL to view all possible files
NULL
test whether the sample file exists instead of downloading them; default is FALSE
FALSE
whether to use cache
# list available files ieegio_sample_data() # check if file edfPlusD.edf exists ieegio_sample_data("edfPlusD.edf", test = TRUE) if (FALSE) { ieegio_sample_data("edfPlusD.edf") }
Run the code above in your browser using DataLab