Nothing
pzmlnorm <-
function (q, meanlog = 0, sdlog = 1, p.zero = 0.5)
{
names.q <- names(q)
arg.mat <- cbind.no.warn(q = as.vector(q), meanlog = as.vector(meanlog),
sdlog = as.vector(sdlog), p.zero = as.vector(p.zero))
for (i in c("q", "meanlog", "sdlog", "p.zero")) assign(i,
arg.mat[, i])
na.index <- is_na_matrix(arg.mat)
if (all(na.index))
p <- rep(NA, length(q))
else {
if (any(sdlog[!na.index] < .Machine$double.eps))
stop("All values of 'sdlog' must be positive.")
if (any(p.zero[!na.index] <= 0) || any(p.zero[!na.index] >=
1))
stop(paste("All values of 'p.zero' must be", "greater than 0 and less than 1."))
p <- (1 - p.zero) * plnorm(q, meanlog, sdlog)
index <- !na.index & q >= 0
p[index] <- p[index] + p.zero[index]
}
if (!is.null(names.q))
names(p) <- rep(names.q, length = length(p))
else names(p) <- NULL
p
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.