Description Usage Arguments Value
Divides a vector by length into bins, takes the sum of a corresponding variable.
1 |
vec |
is the vector to divide by |
var |
is the variable to sum |
bins |
is the number of bins to divide into |
a plot and dataframe of mean 'var' per bin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.