It's not clear to me what you want;  the on-line help states that
approxfun() does linear or constant interpolation (the default is
linear).  It is trivial to write down a ``mathematical
representation'' of the resulting function --- but why would you want
to?  The function f() you created does the calculations for you; all
you would be doing is reinventing the wheel.

                        cheers,

                                Rolf Turner
                                [EMAIL PROTECTED]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to