powered by
Functions to compute the mean, variance, covariance, and correlation of histogram-valued data.
hist_mean(x, var_name, method = "BG", ...)hist_var(x, var_name, method = "BG", ...)hist_cov(x, var_name1, var_name2, method = "BG")hist_cor(x, var_name1, var_name2, method = "BG")
hist_var(x, var_name, method = "BG", ...)
hist_cov(x, var_name1, var_name2, method = "BG")
hist_cor(x, var_name1, var_name2, method = "BG")
A numeric value: the mean, variance, covariance, or correlation.
histogram-valued data object.
the variable name or the column location.
methods to calculate statistics: mean and var: BG (default), L2W; cov and cor: BG (default), BD, B, L2W.
additional parameters.
Po-Wei Chen, Han-Ming Wu
...
int_mean int_var int_cov int_cor
library(HistDAWass)
Run the code above in your browser using DataLab