Description Usage Arguments Details Value Author(s)
Creates histogram for a continous, grouped variable that can be in addition be weighted.
1 2 | get.multivariate.weighted.histogram(x, i, w, x.min, x.max, n.x.bins,
log = FALSE)
|
x |
continous variable (vector) |
i |
variable to group i (vector of same length) |
w |
optional weighting variable |
x.min |
minimal value (left side for lowest bin) |
x.max |
maximal value (right side for highest bin) |
log |
if true, binning will be done on a logarithmic scale |
n.x.bin |
number of bins |
Bins are left sided. Values outside [x.min, x.max) are disregarded with a warning
data frame with bin mids, bin widths and density
Steffen Greilich
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.