Skip to contents

A sigmoid function

Usage

sigmoid_fun(x, x0 = 4, k = 2)

Arguments

x

a double, the timepoint at which to evaluate the function

x0

a double, the starting timepoint of the sigmoid

k

a double, representing the speed of the sigmoid to 1

Value

a double