logistic: Compute various logistic patterns

View source: R/utils.R

logisticR Documentation

Compute various logistic patterns

Description

Compute various logistic patterns

Usage

logistic(
  pattern,
  x,
  slope_asc = NULL,
  location_asc = NULL,
  slope_desc = NULL,
  location_desc = NULL
)

Arguments

pattern

logistic function option. Options: "simple_logistic" and "double_logistic"

x

Vector or scalar of indepenent variable

slope_asc

Slope parameter for ascending curve

location_asc

Location parameter for ascending curve

slope_desc

Slope parameter for descending curve

location_desc

Location parameter for descending curve

Value

Values of function at x.

Examples

## Not run: 
logistic(pattern = "simple_logistic", x = c(1:12), slope_asc = 3, location_asc = 1.5)
logistic(pattern = "double_logistic", x = c(1:12), slope_asc = 3, location_asc = 1.5, slope_desc = 2, location_desc = 10)

## End(Not run)

Bai-Li-NOAA/IFA4EBFM documentation built on June 23, 2022, noon