histmean {dsdp} | R Documentation |
Compute the mean of a data set
Description
Compute the mean of a data set
represented by the pair of the numeric vectors data
and optionally its
frequency vector freq
.
Usage
histmean(data, freq = NULL)
Arguments
data |
A numeric vector of a data set. |
freq |
A frequency vector corresponding to the |
Value
The mean of a data set.
See Also
Examples
## Without a frequency data
histmean(mix2gauss$n200)
## With a frequency data
histmean(mix2gaussHist$n200p, mix2gaussHist$n200f)
[Package dsdp version 0.1.1 Index]