Usage
ZIP(mu.link = "log", sigma.link = "logit")
dZIP(x, mu = 5, sigma = 0.1, log = FALSE)
pZIP(q, mu = 5, sigma = 0.1, lower.tail = TRUE, log.p = FALSE)
qZIP(p, mu = 5, sigma = 0.1, lower.tail = TRUE, log.p = FALSE)
rZIP(n, mu = 5, sigma = 0.1)
Arguments
mu.link
defines the mu.link, with "log" link as the default for the mu parameter
sigma.link
defines the sigma.link, with "logit" link as the default for the sigma parameter which in this case is the probability at zero.
Other links are "probit" and "cloglog"'(complementary log-log)
x
vector of (non-negative integer) quantiles
mu
vector of positive means
sigma
vector of probabilities at zero
n
number of random values to return
log, log.p
logical; if TRUE, probabilities p are given as log(p)
lower.tail
logical; if TRUE (default), probabilities are P[X <= x],="" otherwise,="" p[x=""> x]=>