Description Usage Arguments Value Examples
View source: R/timeseries_exported.r
Extract and plot data side by side from two time series
1 2 | plotCompare(expected, actual, varId, tSpan = NA,
title = paste("before/after state trace", varId))
|
expected |
a time series (e.g. xts). Suggests to use this for the expected or observed data set |
actual |
a time series (e.g. xts). Suggests to use this for the actual data set that should match the expected one. |
varId |
a character vector of length 1, the name of the series to identify |
tSpan |
a vector of length 2, coercible to a POSIXct, or NA (default value) to not temporally subset the returned time series. |
title |
title to give to the resulting plot |
a plot object
1 2 3 4 | ## Not run:
library(verifyImpl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.