Re: [R] Approximate taylor series

2016-04-27 Thread Gabor Grothendieck
Regress on a multivariate polynomial:

lm(y ~ polym(x1, x2, x3, x4, degree = 3))

See ?polym

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Approximate taylor series

2016-04-27 Thread Anindya Sankar Dey
Hi All,

Say I have the values of function f(x1,x2,x3,x4) for each values of
x1,x2,x3,x4 but not complete. But the functional form is not known.

Techniques like regression, etc. are not able to give me satisfactory
results and msy be more complex than we thought.

I wanted to use Taylor's approximation to continuous function, to
approximate a functional form using the given data. But failed to see a
package in R thaat does that.

Can anyone suggest a way to do it?

-- 
Anindya Sankar Dey

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.