pllog | R Documentation |
Probability function of Log-Logistics model
pllog(q, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)
q |
input quantile for Log-Logistics model |
shape |
shape parameter of Log-Logistics model |
scale |
scale parameter of Log-Logistics model |
lower.tail |
logic function to determine whether lower tail probability to be returned |
log.p |
logic function to determine whether log of logistics to be returned |
returns the probability of the Log-Logistics model
q <- c(1, 2, 3, 4) # set paramters shape <- 5 scale <- 3 log <- FALSE result_1 <- marp::pllog(q, shape, scale, log) # alternatively, set log == TRUE log <- TRUE result_2 <- marp::pllog(q, shape, scale, log)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.