plot.Rendata | R Documentation |
Plot 'Rendata' datasets with OT and historical data
## S3 method for class 'Rendata'
plot(x,
textOver = quantile(x$OTdata[, x$info$varName], probs = 0.99),
showHist = TRUE,
...)
x |
Rendata object i.e. a list object as read with the |
textOver |
Mark values of the variable in the |
showHist |
If |
... |
further args to be passed to |
The plot shows the main data of the object x
(the OTdata
part) as well as historical data MAXdata
or OTSdata
if
any. Different colours are used on the background. This function is
not intended to produce nice plots to be printed.
This function is mainly a companion function of readXML
. Its
goal is to check the content of the data read.
Yves Deville
readXML
if (require(XML)) {
## use 'index.xml' file shipped with Renext
dir1 <- system.file("Rendata", package = "Renext")
BrestNew <- readXML(name = "Brest", dir = dir1)
plot(BrestNew)
GaronneNew <- readXML(name = "Garonne", dir = dir1)
plot(GaronneNew)
test1 <- readXML(name = "test1", dir = dir1)
plot(test1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.