rawmean: Utility to construct a PSD S3 object with calculated mean

Description Usage Arguments Value References Examples

View source: R/LIHNPSD.r

Description

Utility to construct a PSD S3 object with calculated mean. Mean of a PSD distribution is required in many calculations. So it makes sense to calculate it and store it in the S3 object once for all. The word "raw" means the calculation is performed without considering the location parameter.

Usage

1

Arguments

d

A PSD S3 object

Value

A fully specified PSD S3 object with calculated mean

References

See Section "The Mean" in the PSD paper

Examples

1
2
3
4
  # Construct the S3 object for PSD
  dist <- list( sigma= 0.004625, alpha= 0.292645, gamma= 0.482744, beta= -0.154049, location= 0.002968 )
  class(dist) <- "LIHNPSD"
  dist <- rawmean(dist)

LIHNPSD documentation built on May 29, 2017, 11:25 p.m.