Description Usage Arguments Value
View source: R/samples-to-binned-distributions.R
From a vector of numeric samples, create data frame of bin probabilities.
1 |
x |
numeric vector of samples |
bins: |
numeric vector of bin start and end points. For example: c(seq(from = 0.0, to = 25.0, by = 0.1), 100.0) |
Data frame with columns: bin: lower endpoints of bins value: proportion of x falling in bin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.