pllog {marp}R Documentation

Probability function of Log-Logistics model

Description

Probability function of Log-Logistics model

Usage

pllog(q, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)

Arguments

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

Value

returns the probability of the Log-Logistics model

Examples

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)


[Package marp version 0.1.0 Index]