plot.nfd_stats | R Documentation |
plot.nfd_stats()
plots the resulting "base" statistics after calling
nfd_stats()
. Statistics are plotted as boxplots across traces.
plot.nfd_pdf()
plots the resulting PDF after calling nfd_pdf()
. The range
of PDFs for every trace are shown as the statistics around the probability
of any given flow occurring. For monthly data, one PDF is created for each
month. Historical or some other reference trace can be shown on both plots
using ref
.
## S3 method for class 'nfd_stats'
plot(x, ref = NULL, base_units = NULL, show = TRUE, ...)
## S3 method for class 'nfd_pdf'
plot(x, ref = NULL, base_units = NULL, show = TRUE, ...)
x |
An object inheriting from |
ref |
An object inheriting from |
base_units |
Optional. Used as y-axis label. |
show |
Boolean. If |
... |
Additional options passed to |
For monthly plots, plot.nfd_pdf()
will create an individual plot for all
months that exist in the nfd_pdf
data frame.
nfdplot
object.
nfd_stats()
, save_nfdplot()
nfd_pdf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.