plot.STS: Plot of Cleaned and original Time Series

Description Usage Arguments Value Examples

View source: R/plot.STS.R

Description

This function generates a plot with the original and reconstructed series

Usage

1
2
## S3 method for class 'STS'
plot(STSclean, k = NULL)

Arguments

STSclean

is a object type STS and It contain imputation of TS time series, by default is NULL, in that case TSclean = imputeSTS(TS)

k

is the number of column (time serie) from STSclean to be plot, by default is NULL in that case all time series in TS are ploting

Value

a plot with the original series and the reconstructed series are found

Examples

1
2
3
4
x <- co2
x[sample(1:length(x),20,FALSE)] <- NA
sts <- impute.STS(x)
plot(sts)

CristianPachacama/imputeSTS documentation built on May 26, 2020, 9:56 p.m.