plot_ndist | R Documentation |
Fit and plot a normal distribution histogram alongside a timeseries of the data the distribution has been fitted from
plot_ndist(
df,
columns = c(CH1_Hz, CH2_Hz),
value_name = "Values",
binwidth = NULL,
pad_res = NULL,
floor_unit = NULL,
print_stats = FALSE
)
df |
data.frame containing a date column as POSIXct and the columns to plot |
columns |
column names expressed unquoted. |
value_name |
x axis label on histograms and y axis label on time series |
binwidth |
set binwidth argument for geom_histogram |
pad_res |
default NULL. When not NULL, pad the data using a time series at the this resolution in seconds |
floor_unit |
default NULL. When not NULL use |
print_stats |
when TRUE, print the mean and sd to the console |
W. S. Drysdale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.