get.MatH.stats | R Documentation |
It returns statistics for each distribution contained in a MatH
object.
get.MatH.stats(object, ...)
## S4 method for signature 'MatH'
get.MatH.stats(object, stat = "mean", prob = 0.5)
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 |
A list
stat
- the chosen statistic
prob
- level of probability if stat='quantile'
MAT
- a matrix of values
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.