dllog {marp}R Documentation

Density function of Log-Logistics model

Description

Density function of Log-Logistics model

Usage

dllog(x, shape = 1, scale = 1, log = FALSE)

Arguments

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

Value

returns the density of the Log-Logistics model

Examples

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)


[Package marp version 0.1.0 Index]