[R] approxfun question

Frede Aakmann Tøgersen frtog at vestas.com
Thu May 22 07:24:15 CEST 2014


Like this:

> x <- 1:10
> y <- rnorm(10)
> f <- approxfun(x, y)
> f
function (v) 
.approxfun(x, y, v, method, yleft, yright, f)
<bytecode: 0x000000000cd7a340>
<environment: 0x000000000cd79a38>

Yours sincerely / Med venlig hilsen


Frede Aakmann Tøgersen
Specialist, M.Sc., Ph.D.
Plant Performance & Modeling

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
frtog at vestas.com
http://www.vestas.com

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender. 


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> On Behalf Of Helio Camargo
> Sent: 21. maj 2014 22:32
> To: r-help at r-project.org
> Subject: [R] approxfun question
> 
> Sorry for the naive question, but is it actually possible do SEE the
> approximation function y=f(x) in any of the output options of approxfun?
> 
> Cheers,
> 
> --
> Helio
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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.



More information about the R-help mailing list