| train_test_subset | R Documentation | 
Function subsets data into training and testing datasets.
train_test_subset(data, train_perc = 0.8, test_len = NULL)
data | 
 A numeric vector, time series, data.frame or matrix containg data to be subsetted.  | 
train_perc | 
 Percentage of data observations to compose the training dataset.
Ignored if   | 
test_len | 
 Required length of testing dataset. If   | 
A list with train and test subsets of data.
Rebecca Pontes Salles
Other transformation methods: 
Diff(),
LogT(),
WaveletT(),
emd(),
mas(),
mlm_io(),
outliers_bp(),
pct()
data(CATS)
d <- train_test_subset(CATS[,1])
swin <- sw(CATS[,1],5)
d_sw <- train_test_subset(swin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.