| dclaw | R Documentation | 
Random generation, density and cumulative probability for the claw distribution.
rclaw(n)
dclaw(x)
pclaw(q)
n | 
 Number of draws from   | 
x | 
 Vector of ordinates  | 
q | 
 Vector of quantiles  | 
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.
Random samples (rclaw), density (dclaw) or probability (pclaw) of the claw distribution.
David Herrick
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.