Skip to contents

Produce 5 numbers of the distribution (mean_, sd_, lci_, uci_, median_).

Usage

cinqnum(x, ...)

# S3 method for DISTRIBUTION
cinqnum(x, n, ...)

# S3 method for `NA`
cinqnum(x, n, ...)

# S3 method for DIRAC
cinqnum(x, n, ...)

Arguments

x

an object of class DISTRIBUTION

...

further parameters

n

number of drawns

Value

a vector with the mean, sd, lci, uci and median values

Details

Uses the stored seed to have the same sequence always and produce the same numbers This is an internal function for the summary function

Methods (by class)

  • cinqnum(DISTRIBUTION): Generic method for a DISTRIBUTION

  • cinqnum(`NA`): Generic method for optimized for a NA distribution

  • cinqnum(DIRAC): Generic method optimized for a DIRAC distribution

Author

John J. Aponte