Description Usage Arguments Value See Also Examples
Load all .txt files with sleep scoring done with Spike2.
1 2 |
path |
Path to files as a string, Default: NULL |
col_names |
Names for the columns corresponding to the information on the filename, Default: c("study", "id", "condition") |
drop_cols |
The Spike2 script will produce files with columns (e.g. T1EEG_PR) for each electrode and animal recorded. Since usually the information is the same across all electrodes Default: TRUE |
file_ext |
The extension of the files you want to import, Default: '.txt' |
... |
extra parameters to pass to tidyr::separate |
A data-frame.
tibble
dir_ls
,path_ext_remove
,path_file
mutate
,select
,select_if
,matches
separate
,unnest
,gather
map
read_table2
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.