Description Usage Arguments Value
plot_delta
is a wrapper for ggplot that allows the plotting of differenced weight metrics by hive, by site, or pooled
1 2 | plot_delta(x, type = "points", by = "none", metric, knots = 25,
omit = NULL)
|
x |
a tibble output by data_proc |
type |
a string specifying the type of plot; options are "points" for scatterplot or "hist" for histogram; note that for histograms, xlim is set to c(-5, 5), which results in the trimming of extreme values but improves visualization of data. Similarly, for scatterplots, ylim is set to (-0.15, 0.15), which trims extreme values but improves visualization of the smooth fit line |
by |
a string specifying whether plot should be faceted by "site", "scale", or "none" |
metric |
a string vector indicating which weight metrics should be plotted |
knots |
a real number controlling the number of knots in the GAM splines smoothing function; lower number = more smoothing |
omit |
a string indicating which ScaleIDs shoud be dropped prior to plotting |
a plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.