Internal utility to construct a PSD S3 object

Description

Internal utility to construct a PSD S3 object. This utility makes sure unspecified parameters are set to zero. If MPFR precision is set, all the parameters will be converted to MPFR. Several standard numbers are also stored within the object for easy access, such as pi, e. This utility is for internal use most of time, which is wrapped by rawmean.

Usage

1

Arguments

d

A primitive PSD S3 object

Value

A fully specified PSD S3 object

See Also

rawmean

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 <- prepare(dist)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.