selectdata | R Documentation |
Select data from a ctd
object.
selectdata(
ctd_obj,
seconds = NULL,
samples = NULL,
signals = NULL,
add.t = FALSE
)
ctd_obj |
object of class |
seconds |
character string representing an expression to select the
specified seconds from the data; can only used when |
samples |
samples to select from the data; must be between 1 and
|
signals |
signals to select from the data. Either a vector of numeric
values between 1 and |
add.t |
logical indicating whether to add or renew the time variable t.
If |
A ctd
object containing the selected data.
Geert van Boxtel, G.J.M.vanBoxtel@gmail.com
data(EEGdata)
sel <- selectdata(EEGdata, seconds = 'which(t < 3)')
sel <- selectdata(EEGdata, samples = 1:600)
sel <- selectdata(EEGdata, signals = 1:28)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.