[R] function question

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Fri Mar 20 11:45:48 CET 2009


of course!  as some might suggest, i should have used times new sarcastic ;)

vQ

PS beware of

    vector(vector)

and

    function(function)



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




More information about the R-help mailing list