tr.log: Sigmoid function

Description Usage Arguments Examples

View source: R/tr.log.R

Description

Generate sigmoid curve series, which is a specific case of logistic function, with a control of top and bottom acceleration.

Usage

1
tr.log(x,top,a,b)

Arguments

x

:a numeric vector

top

:a numeric value as vertical scaler

a

:a number to control top acceleration of the curve

b

:a number to control bottom acceleration of the curve

Examples

1
2
 sigc <- round(tr.log(seq(-3, 3, 0.1), 1, -3, 3), 3)
ts.plot(sigc)

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to tr.log in YRmisc...