wtd_summary {heemod} | R Documentation |
Weighted Summary
Description
Compute a weighted summary of a numeric vector.
Usage
wtd_summary(x, weights = NULL)
Arguments
x |
A numeric vector. |
weights |
A vector of weights, same length as
|
Details
If weights
is NULL
an unweighted summary is
returned.
Value
A vector with values Min., 1st Qu., Median,
Mean, 3rd Qu., Max.
.
[Package heemod version 1.1.0 Index]