sigmoid: sigmoid Creates a longer dataframe with coordinates for a...

Description Usage Arguments Value

View source: R/ggbump.R

Description

sigmoid

Creates a longer dataframe with coordinates for a smoothed line.

Usage

1
sigmoid(x_from, x_to, y_from, y_to, smooth = 5, n = 100, direction = "x")

Arguments

x_from

start x value

x_to

end x value

y_from

start y value

y_to

end y values

smooth

smooth parameter. Higher means less smoothing

n

number of point that should be smoothed

direction

the character x or y depending on direction of smoothing

Value

a data frame


ggbump documentation built on April 24, 2020, 5:05 p.m.