get.multivariate.weighted.histogram: Multivariate histogram from weighted variable

Description Usage Arguments Details Value Author(s)

Description

Creates histogram for a continous, grouped variable that can be in addition be weighted.

Usage

1
2
get.multivariate.weighted.histogram(x, i, w, x.min, x.max, n.x.bins,
  log = FALSE)

Arguments

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

Details

Bins are left sided. Values outside [x.min, x.max) are disregarded with a warning

Value

data frame with bin mids, bin widths and density

Author(s)

Steffen Greilich


HITXML documentation built on May 2, 2019, 5:25 p.m.