The goal of empichar is to evaluate the empirical characteristic function meeting the following criteria:
- Allow the
C++
functions to be imported in otherR
packages. - Make a fast evaluation (using
RcppArmadillo
). - Check the dimensions of the input arguments.
- If desired, compute only the real part, imaginary part or modulus of the empirical characteristic function (faster than taking the real part of the empirical characteristic function).
You can install the released version of empichar from CRAN with:
install.packages("empichar")
Function | Description |
---|---|
ecf |
Empirical characteristic function of a given sample |
ecf_real |
Real part of the empirical characteristic function |
ecf_imag |
Imaginary part of the empirical characteristic function |
ecf_mod |
Modulus of the empirical characteristic function |
I will add a vignette later on. Meanwhile, consult the documentation
with help("ecf", "empichar")
, help("ecf_real", "empichar")
,
help("ecf_imag", "empichar")
, help("ecf_mod", "empichar")
.