precisionMeasures | R Documentation |
superb comes with a few built-in measures of
precisions. All SE.fct()
functions produces an interval width;
all CI.fct()
produces the lower and upper limits of an interval.
See \insertCitehtc14,htc15superb for more.
"superbPlot-compatible" precision measures must have these parameters:
SE.mean(x) CI.mean(x, gamma) SE.median(x) CI.median(x, gamma) SE.hmean(x) CI.hmean(x, gamma) SE.gmean(x) CI.gmean(x, gamma) SE.var(x) CI.var(x, gamma) SE.sd(x) CI.sd(x, gamma) SE.MAD(x) CI.MAD(x, gamma) SE.IQR(x) CI.IQR(x, gamma) SE.fisherskew(x) CI.fisherskew(x, gamma) SE.pearsonskew(x) CI.pearsonskew(x, gamma) SE.fisherkurtosis(x) CI.fisherkurtosis(x, gamma)
x |
a vector of numbers, the sample data (mandatory); |
gamma |
a confidence level for CI (default 0.95). |
a measure of precision (SE) or an interval of precision (CI).
# the confidence interval of the mean for default 95% and 90% confidence level CI.mean( c(1,2,3) ) CI.mean( c(1,2,3), gamma = 0.90) # Standard errors for standard deviation, for MAD and for fisher skew SE.sd( c(1,2,3) ) SE.MAD( c(1,2,3) ) SE.fisherskew( c(1,2,3) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.