Calculate the Normalizing Constant of Cobb's Cusp Density
A family of functions that return the normalization constant for the cusp density given the values of the bifurcation and asymmetry parameters (default), or returns the moment of a specified order (
1 2 3 4 5
the asymmetry parameter in Cobb's cusp density (see
the bifurcation parameter in Cobb's cusp density (see
the moment order to be computed (see details below)
arguments used by the internal integration routine of R (see
logical, that indicates wether the order of the output should be the same as the order of the input
extra arguments in
cusp.nc returns Ψ if
mom.order = 0 and Ψ times the moment of order
cusp.nc is internally used if the C-routine symbol
"cuspnc" is not loaded.
cusp.nc.C call this C routine, which is considerably faster than
These functions are not intended to be called directly by the user.
cusp.nc, cusp.nc.c, cusp.nc.vec return a numeric vector of the same length as
beta with normalizing constants, or the indicated moments times the normalization constant (
cusp.nc.C returns a list with vectors with the results obtained from
cusp.nc.c first sorts the input in such a way that the numerical integrals can be evaluated more quickly than in arbitrary order
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.