Description Usage Arguments Value Author(s) See Also Examples
View source: R/plotDataCompleteness.R
Time plots of variable completeness
1 | plotDataCompleteness(MESHdata)
|
MESHdata |
Required. A data frame of MESH time series, as returned by
|
Returns a ggplot2 wrapped facetted plot of data completeness
(as a line) for each station. Missing periods are indicated by gaps in the
line. The plot is facetted by the variable station
- so you can change
the facetting.
Kevin Shook
1 2 3 4 5 6 7 8 | ## Not run:
qvals <- read_tb0("MESH_input_streamflow.tb0", NAvalue = -0.01, values_only = TRUE)
p <- plotDataCompleteness(qvals)
# change facetting
# the y-axis is unimportant, so the plots can be squished vertically
library(ggplot2)
p <- p + facet_wrap(~station, ncol = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.