[R] function question

Bert Gunter gunter.berton at gene.com
Thu Mar 19 18:06:04 CET 2009


Edna:

Please make at least a minimal effort to answer such questions before
posting.

is.vector(function(x)x) ## FALSE
as.vector(function(x)x) ## try it

or even

is.vector(plot)


-- Bert Gunter
Genentech



-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Edna Bell
Sent: Thursday, March 19, 2009 9:50 AM
To: r-help at stat.math.ethz.ch
Subject: [R] function question

Dear R Gurus:

I read somewhere that functions are considered vectors.

Is this true, please?

thanks
Edna Bell

______________________________________________
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