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
)
numeric, the flatness parameter. Default: 0.
numeric, the sharpness parameter. Default: 0.
numeric, the scale parameter. Must be positive. Default: 1.
numeric, the skewness parameter. Default: 0.
numeric, the location parameter. Default: 0.
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.
numeric, the leading exponent for the special model. Default: 3.
logical, also calculate statistics, default is TRUE
.
logical, also calculate quantile data, default is FALSE
.
logical, skip both const and stats calculation, default is FALSE
.
This for debug purpose for issues on integrating \(e^y(x)\).
logical, display timing information, for debugging purpose, default is FALSE
.
An object of ecd class
# NOT RUN {
d <- ecd()
d <- ecd(1,1)
d <- ecd(alpha=1, gamma=1)
# }
Run the code above in your browser using DataLab