Build a sigmoidal line using sigfun

sigline(
  x = 0,
  xend = 1,
  y = 0,
  yend = 1,
  steps = 50,
  sigfun = "erf",
  sigx = 1.5
)

Arguments

x

starting x position. Default = 0

xend

ending x position. Default = 1

y

starting y position. Default = 0

yend

ending y position. Default = 1

steps

Number of points in the line. Default = 50

sigfun

The sigmoidal function to use. Currently only supports "erf"

sigx

Will generate values for -sigx to +sigx using sigfun, then rescale to x and y params.

Value

a data.frame with x and y coordinates for the sigmoidal line