get.MatH.stats {HistDAWass} | R Documentation |
Method get.MatH.stats
Description
It returns statistics for each distribution contained in a MatH
object.
Usage
get.MatH.stats(object, ...)
## S4 method for signature 'MatH'
get.MatH.stats(object, stat = "mean", prob = 0.5)
Arguments
object |
a |
... |
a set of other parameters |
stat |
(optional) a string containing the required statistic. Default='mean' |
prob |
(optional)a number between 0 and 1 for computing the value once choosen the |
Value
A list
Slots
stat
- the chosen statistic
prob
- level of probability if stat='quantile'
MAT
- a matrix of values
Examples
get.MatH.stats(BLOOD) # the means of the distributions in BLOOD dataset
get.MatH.stats(BLOOD, stat = "median") # the medians of the distributions in BLOOD dataset
get.MatH.stats(BLOOD, stat = "quantile", prob = 0.5) # the same as median
get.MatH.stats(BLOOD, stat = "min") # minima of the distributions in BLOOD dataset
get.MatH.stats(BLOOD, stat = "quantile", prob = 0) # the same as min
get.MatH.stats(BLOOD, stat = "max") # maxima of the distributions in BLOOD dataset
get.MatH.stats(BLOOD, stat = "quantile", prob = 1) # the same as max
get.MatH.stats(BLOOD, stat = "std") # standard deviations of the distributions in BLOOD dataset
get.MatH.stats(BLOOD, stat = "skewness") # skewness indices of the distributions in BLOOD dataset
get.MatH.stats(BLOOD, stat = "kurtosis") # kurtosis indices of the distributions in BLOOD dataset
get.MatH.stats(BLOOD, stat = "quantile", prob = 0.05)
# the fifth percentiles of distributions in BLOOD dataset