detrenddata | R Documentation |
Remove polynomial trend in a ctd
object.
detrenddata(ctd_obj, p = 1)
ctd_obj |
object of class |
p |
Order of the polynomial. Default: 1. The order of the polynomial can also be given as a string, in which case p must be either "constant" (corresponds to p = 0) or "linear" (corresponds to p = 1). |
A ctd
object containing the detrended data.
Geert van Boxtel, G.J.M.vanBoxtel@gmail.com
data(EEGdata)
det <- detrenddata(EEGdata, 'constant')
plot(det)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.