quadratic.point.slope.extrema: Quadratic Function Through a Point and with a Given Slope and...

Description Usage Arguments Value

View source: R/Interpolation.R

Description

Quadratic Function Through a Point and with a Given Slope and with Given y-value of Extrema

Usage

1
2
3
4
5
6
7
8
quadratic.point.slope.extrema(
  data,
  x = point.x(data),
  y = point.y(data),
  slope,
  extrema = 0,
  tol = sqrt(.Machine$double.eps)
)

Arguments

data

A pointData type containing a signle point. It will be converted to x and y

x

The x-coordinate of a point. May be assigned directly.

y

The y-coordinate of a point. May be assigned directly.

slope

The slope at point '(x,y)“

extreme

The y-value of the extrema.

Value

The quadratic that goes through (x,y) with slope k and tangent to the y=extrema.


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