sliding_hist: Sliding Histogram

Description Usage Arguments Examples

View source: R/timeline_plot.R

Description

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.

Usage

1
sliding_hist(vec, bin_width, range)

Arguments

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.

Examples

1
sliding_hist(rnorm(100), bin_width = 0.1)

nstrayer/timelinePlot documentation built on May 24, 2019, 7:51 a.m.