| ecd | R Documentation | 
Construct an ecd class by providing the required parameters.
The default is the standard cusp distribution. 
Cusp is validated by eps = max(.Machine$double.eps*1000, 1e-28).
ecd( alpha = 0, gamma = 0, sigma = 1, beta = 0, mu = 0, cusp = 0, lambda = 3, with.stats = TRUE, with.quantile = FALSE, bare.bone = FALSE, verbose = FALSE )
| alpha | numeric, the flatness parameter. Default: 0. | 
| gamma | numeric, the sharpness parameter. Default: 0. | 
| sigma | numeric, the scale parameter. Must be positive. Default: 1. | 
| beta | numeric, the skewness parameter. Default: 0. | 
| mu | numeric, the location parameter. Default: 0. | 
| cusp | logical, indicate type of cusp. The singular points in cusp requires special handling. Default: 0, not a cusp. 1: cusp with alpha specified. 2: cusp with gamma specified. | 
| lambda | numeric, the leading exponent for the special model. Default: 3. | 
| with.stats | logical, also calculate statistics, default is  | 
| with.quantile | logical, also calculate quantile data, default is  | 
| bare.bone | logical, skip both const and stats calculation, default is  | 
| verbose | logical, display timing information, for debugging purpose, default is  | 
An object of ecd class
Stephen H. Lihn
d <- ecd() d <- ecd(1,1) d <- ecd(alpha=1, gamma=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.