dclaw {wavethresh} | R Documentation |
Claw distribution
Description
Random generation, density and cumulative probability for the claw distribution.
Usage
rclaw(n)
dclaw(x)
pclaw(q)
Arguments
n |
Number of draws from |
x |
Vector of ordinates |
q |
Vector of quantiles |
Details
The claw distribution is a normal mixture distribution, introduced in Marron & Wand (1992). Marron, J.S. & Wand, M.P. (1992). Exact Mean Integrated Squared Error. Ann. Stat., 20, 712–736.
Value
Random samples (rclaw), density (dclaw) or probability (pclaw) of the claw distribution.
Author(s)
David Herrick
Examples
# Plot the claw density on the interval [-3,3]
x <- seq(from=-3, to=3, length=500)
## Not run: plot(x, dclaw(x), type="l")
[Package wavethresh version 4.7.2 Index]