add.control.points: Function to add bezier control points for horizontal layout.

View source: R/helpers.R

add.control.pointsR Documentation

Function to add bezier control points for horizontal layout.

Description

Function to add bezier control points for horizontal layout.

Usage

add.control.points(data = NULL, strength = 0.5)

Arguments

data

A data.frame containing x and y coordinates.

strength

The proportion to move the control point along the y-axis towards the other end of the bezier curve.

Value

A vector of rescaled coordinate values.

Author(s)

David Porubsky


daewoooo/SVbyEye documentation built on March 31, 2024, 8:58 a.m.