fld | R Documentation |
Defines quantile function (ICDF), probability density and quantile density function as well as probability function (CDF) for flattened logistic distribution
qfld(p, bt, k, a = 0)
ffld(p, bt, k, a = 0)
dqfld(p, bt, k, a = 0, log = FALSE)
rfld(n, bt, k, a = 0)
pfld(q, ..., lower = 0, upper = 1, tol = 1e-06, silent = TRUE, trace = 0)
p |
vector of probabilities |
bt |
parameter beta of GFLD distribution (scale). Should be non-negative. |
k |
parameter k of GFLD distribution (shape). Should be non-negative. |
a |
location parameter alpha of GFLD distribution(location parameter), default is 0 |
log |
logical; if TRUE, log density is returnes. Default is FALSE |
n |
numeric; number of samples to draw from FLD distribution |
q |
vector of quantiles |
... |
used by method |
lower , upper |
the |
tol |
the |
silent |
the |
trace |
integer number passed to |
vector
qfld(0.1, 0.5, 0.3, 0.5)
# centered gfld
p <- runif(1e4)
x <- qfld(p, 0.25, 1)-qfld(0.5, 0.25, 1)
hist(x,30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.