Description Usage Arguments Examples
View source: R/timeline_plot.R
Takes one dimensional data and returns a data frame in the form of x value and sum which are the x and y coordinates of the sliding histogram respectively.
1 | sliding_hist(vec, bin_width, range)
|
vec |
vector of numeric values. |
bin_width |
width of bin to slide, same as histogram bin width |
range |
where to start and stop sliding of bin. |
1 | sliding_hist(rnorm(100), bin_width = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.