summaryStatistics: Additional summary statistics

Description Usage Arguments Value References Examples

Description

superb adds a few summary statistics that can be used to characterize a dataset. All comes with SE.fct() and CI.fct(). See \insertCitehtc14,htc15superb for more. superbPlot-compatible summary statistics functions must have one parameter:

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

x

a vector of numbers, the sample data (mandatory);

Value

a summary statistic describing the sample.

References

\insertAllCited

Examples

1
2
3
4
5
6
7
# the confidence interval of the mean for default 95% and 90% confidence level
gmean( c(1,2,3) )  # the geometric mean; also available in psych::geometric.mean 	
hmean( c(1,2,3) )  # the harmonic mean;  also available in psych::harmonic.mean 	
MAD( c(1,2,3) )    # the median absolute deviation to the median (not the same as mad)
fisherskew( c(1,2,3) )     # the Fisher skew corrected for sample size
fisherkurtosis( c(1,2,3) ) # the Fisher kurtosis corrected for sample size
pearsonskew( c(1,2,3) )    # the Pearson skew

superb documentation built on June 23, 2021, 9:08 a.m.