[R] function question

Bert Gunter gunter.berton at gene.com
Thu Mar 19 21:16:13 CET 2009


Not surprising at all -- expected!

is.function(vector)  ##TRUE

-- Bert 

-----Original Message-----
From: Wacek Kusnierczyk [mailto:Waclaw.Marcin.Kusnierczyk at idi.ntnu.no] 
Sent: Thursday, March 19, 2009 1:03 PM
To: Bert Gunter
Cc: Edna Bell; R help
Subject: Re: [R] function question

Bert Gunter wrote:
> 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)
>
>   

... or even the surprizing

    is.vector(vector)

vQ




More information about the R-help mailing list