voigt-package {voigt} | R Documentation |
Tools for working with the Voigt distribution
Description
Random generation, density function and parameter estimation for the Voigt distribution. The main objective of this package is to provide R users with efficient estimation of Voigt parameters using classic iid data in a Bayesian framework. The estimating function allows flexible prior specification, specification of fixed parameters and several options for MCMC posterior simulation. A basic version of the algorithm is described in: Cannas M. and Piras, N. (2025) <doi:10.1007/978-3-031-96303-2_53>.
Details
The package contains functions for working with the Voigt distribution in the R environment:
rvoigt
generates random variates
dvoigt
calculates voigt density
evoigt
estimates parameters following a Bayesian approach
otherwise unavailable within R (R < 4.4.1). The main function evoigt
provides both point and interval estimates for the Voigt parameters using a Bayesian approach.
Author(s)
Massimo Cannas [aut, cre], Nicola Piras [aut]
Maintainer: Massimo Cannas <massimo.cannas@unica.it>
References
Kendall, D. G. (1938). The effect of radiation damping and Doppler broadening on the atomic absorption coefficient. Zeitschrift fur Astrophysik, Vol. 16, p.308 https://adsabs.harvard.edu/full/1938ZA.....16..308K
Cannas, M. and Piras, N. Mixture representation and parameter estimation for the Voigt profile (submitted)
Examples
## Not run:
## See examples in the help file of each function.
## End(Not run)