powered by
Compute the mean of a data set represented by the pair of the numeric vectors data and optionally its frequency vector freq.
data
freq
histmean(data, freq = NULL)
The mean of a data set.
A numeric vector of a data set.
A frequency vector corresponding to the data vector. The default value is NULL, which means all frequencies are one.
NULL
datastats()
## Without a frequency data histmean(mix2gauss$n200) ## With a frequency data histmean(mix2gaussHist$n200p, mix2gaussHist$n200f)
Run the code above in your browser using DataLab