Creates a longer dataframe with coordinates for a smoothed line.
sigmoid
Creates a longer dataframe with coordinates for a smoothed line.
sigmoid(x_from, x_to, y_from, y_to, smooth = 5, n = 100, direction = "x")
start x value
end x value
start y value
end y values
smooth parameter. Higher means less smoothing
number of point that should be smoothed
the character x or y depending on direction of smoothing
a data frame