summary.aplus {compositions}R Documentation

Summaries of amounts

Description

Summary of a vector of amounts, according to its underlying geometry.

Usage

          ## S3 method for class 'aplus':
          summary( object, ... ,digits=max(3, getOption("digits")-3))
          ## S3 method for class 'rplus':
          summary( object, ... )
          ## S3 method for class 'rmult':
          summary( object, ... )
          

Arguments

object an aplus/rplus set of amounts
digits the number of significant digits to be used. The argument can also be used with rplus/rmult.
... not used, only here for generics

Details

Value

A matrix containing summary statistics (minimum, the three quantiles, the mean and the maximum) of each component. The obtained value is the same as for the classical summary summary, although in the case of aplus objects, the statistics have been computed in a logarithmic geometry, and exponentiated afterwards (which just changes the mean, equivalent to the geometric mean of the data set).

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

References

See Also

aplus,rplus,summary.acomp, summary.rcomp

Examples

data(SimulatedAmounts)
summary(aplus(sa.lognormals))
summary(rplus(sa.lognormals))
summary(rmult(sa.lognormals))


[Package compositions version 0.91-6 Index]