quad {DataViz}R Documentation

~ Quadratic fitting function: quad ~

Description

Fits a set of paired points with a quadratic curve. Returns the quadratic set of points. Function only called by r_throwchart.

Usage

quad(point,before_point,after_point,offSet)

Arguments

point

[numeric] or [integer]: A set of points between before and after points.

before_point

[numeric] or [integer]: The first point of the curve.

after_point

[numeric] or [integer]: The last point of the curve.

offSet

[integer]: Single value offset for the graph.

Value

returns the quadratic point equivalent.


[Package DataViz version 0.2.8 Index]