powered by
Construct an ecd class for cusp distribution by specifying either alpha or gamma, but not both. At the moment, it can't handle beta.
ecd.cusp( alpha = NaN, gamma = NaN, sigma = 1, mu = 0, with.stats = TRUE, with.quantile = FALSE, bare.bone = FALSE, verbose = FALSE )
numeric, the flatness parameter. Default: NaN.
numeric, the sharpness parameter. Default: NaN.
numeric, the scale parameter. Must be positive. Default 1.
numeric, the location parameter. Default: 0.
logical, also calculate statistics, default is TRUE.
TRUE
logical, also calculate quantile data, default is FALSE.
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.
The ecd class
# NOT RUN { d <- ecd.cusp(alpha=1) d <- ecd.cusp(gamma=-1) # }
Run the code above in your browser using DataLab