| extract {ftsa} | R Documentation |
Creates subsets of a fts object.
extract(data, direction = c("time", "x"), timeorder, xorder)
data |
An object of fts. |
direction |
In time direction or x variable direction? |
timeorder |
Indexes of time order. |
xorder |
Indexes of x variable order. |
When xorder is specified, it returns a fts object with same argument as
data but with a subset of x variables.
When timeorder is specified, it returns a fts object with same argument
as data but with a subset of time variables.
Han Lin Shang
extract(ElNino, direction = "time", timeorder = 1:55) # First 55 curves extract(ElNino, direction = "x", xorder = 1:8) # First 8 x variables