
Last chance! 50% off unlimited learning
Sale ends in
Finds a polynomial function interpolating the given points
polyinterp(x, y)
a vector of x values
a vector of y values
a polynomial equation's coefficients
polyinterp
finds a polynomial that interpolates the given points.
Other interp:
bezier
,
bilinear()
,
cubicspline()
,
linterp()
,
nn()
,
pwiselinterp()
Other algebra:
bilinear()
,
cubicspline()
,
division
,
fibonacci()
,
horner()
,
isPrime()
,
linterp()
,
nthroot()
,
pwiselinterp()
,
quadratic()
# NOT RUN {
x <- c(1, 2, 3)
y <- x^2 + 5 * x - 3
f <- polyinterp(x, y)
# }
Run the code above in your browser using DataLab