Description Usage Arguments Value
View source: R/functions_plot.R
plot_density
plots the density of the value differences between
two time stamps. In addition, the threshold values used to classify
outliers are shown.
1 | plot_density(df, low, high, limit_val = 20, frost_thr, reso)
|
df |
input |
low |
numeric, low threshold defining outliers. Inherited of the
function |
high |
numeric, high threshold defining outliers. Inherited of the
function |
limit_val |
numeric, defines the x-axis limits of the density plot.
The x-axis limits are drawn at |
frost_thr |
numeric, increases the thresholds for outlier
and jump detection in periods of probable frost (i.e. temperature <
|
ran |
numeric, range of rows in df considered for the density plot. Compatible with different window sizes for data processing. |
plot_export |
logical, defines whether plots are exported or shown directly in the console. |
Plots are saved to current working directory as
density_plot.pdf
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.