dllog | R Documentation |
Density function of Log-Logistics model
dllog(x, shape = 1, scale = 1, log = FALSE)
x |
input data for Log-Logistics model |
shape |
shape parameter of Log-Logistics model |
scale |
scale parameter of Log-Logistics model |
log |
logic function to determine whether log of logistics to be returned |
returns the density of the Log-Logistics model
x <- as.numeric(c(350., 450., 227., 352., 654.)) # set paramters shape <- 5 scale <- 3 log <- FALSE result_1 <- marp::dllog(x, shape, scale, log) # alternatively, set log == TRUE log <- TRUE result_2 <- marp::dllog(x, shape, scale, log)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.