To install this package, run
remotes::install_github("Jiefei-Wang/Epoch")
This package provides a downloader for downloading example data
dl <- EpochDownloader()
Use $
or [[
to get a single file, or
[
to get a list of files
epoch <- dl[[1]]
The downloader does not create a permanent copy of the data, so you must save the Epoch object if you want to use it later
You can access the Epoch data using tblData
, the column,
row, and object meta using colData
, rowData
,
and metaData
respectively.
tblData(epoch)
colData(epoch)
rowData(epoch)
metaData(epoch)
You can subset the epoch
object using the [
operator.
epoch[1:10, 1:10]
You can also use crop
to crop the data by time (in
seconds)
crop(epoch, from = -10, to = 10)
For more information, see the package vignette.