rrplot: Plot Interpolation Perform plotting of function of the...

Description Usage Arguments Details

View source: R/Plot.R

Description

Plot Interpolation

Perform plotting of function of the patching S4 class. It will plot the function along with its first and second derivatives.

Usage

1
rrplot(interpolation, interval, x.point, y.point, limits, res = 1000, autodiff)

Arguments

interpolation

A patching class.

interval

A vector of x-values to be plotted.

x.point

A vector of x-values of the points to be plotted.

y.point

A vector of y-values of the points to be plotted.

limits

A vector y-values of the horizontal lines to be plotted.

res

The number of points are used to calculate the function when interval is not specified.

autodiff

Whther to use automatic differentiation to calculate the derivatives. When the patching class can be collapsed into a polynomial, this parameter can be set to FALSE to improve algorithm efficiency. When this parameter is missing, it determines automatically whether the algorithm can be collapsed into apolynomial.

Details

Packages "reshape2" and "ggplot2" are required for this action.


Chen2357/rrinterp documentation built on Jan. 7, 2022, 1:01 p.m.