View source: R/MultiWaveAnalisysParallel.R
extractSubset | R Documentation |
This function permits to extract certain observations from a MultiWaveAnalysis
extractSubset(MWA, indices)
MWA |
MultiWaveAnalysis from which the desired observations will be extracted |
indices |
Indices that will indicate which observations will be extracted |
A list with two elements:
MWA: The MultiWaveAnalysis provided minus the extracted observations.
MWAExtracted: A new MultiWaveAnalysis with the extracted observations
load(system.file("extdata/ECGExample.rda",package = "TSEAL"))
MWA <- MultiWaveAnalysis(ECGExample, "haar", features = "Var")
aux <- extractSubset(MWA, c(1, 2, 3))
MWATrain <- aux[[1]]
MWATest <- aux[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.