| get.MatH.stats | R Documentation |
Computes a statistic (mean, median, standard deviation, ...) for each
histogram of a MatH object.
## S4 method for signature 'MatH'
get.MatH.stats(object, stat = "mean", prob = 0.5)
object |
A |
stat |
The statistic: |
prob |
A number between 0 and 1, the level of the quantile when
|
A list with the name of the statistic (stat), the level
prob (only when stat = "quantile") and the matrix of values
(mat).
get.MatH.stats(BLOOD) # means
get.MatH.stats(BLOOD, stat = "median")
get.MatH.stats(BLOOD, stat = "quantile", prob = 0.05) # 5th percentiles
get.MatH.stats(BLOOD, stat = "std")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.