histogram_stats {dataSDA} | R Documentation |
Statistics for Histogram Data
Description
Functions to compute the mean, variance, covariance, and correlation of histogram-valued data.
Usage
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")
Arguments
x |
histogram-valued data object. |
var_name |
the variable name or the column location. |
method |
methods to calculate statistics: mean and var: BG (default), L2W; cov and cor: BG (default), BD, B, L2W. |
... |
additional parameters. |
var_name1 |
the variable name or the column location. |
var_name2 |
the variable name or the column location. |
Details
...
Value
A numeric value: the mean, variance, covariance, or correlation.
Author(s)
Po-Wei Chen, Han-Ming Wu
See Also
int_mean int_var int_cov int_cor
Examples
library(HistDAWass)
[Package dataSDA version 0.1.2 Index]