Yes  because in OOP the constructor have the same name with class
 Justin BEM
BP 1917 Yaoundé
Tél (237) 99597295
(237) 22040246 




________________________________
De : Bert Gunter <gunter.berton@gene.com>
À : Wacek Kusnierczyk <Waclaw.Marcin.Kusnierczyk@idi.ntnu.no>; r-help@r-project.org
Envoyé le : Jeudi, 19 Mars 2009, 21h16mn 13s
Objet : Re: [R] function question

[[elided Yahoo spam]]

is.function(vector)  ##TRUE

-- Bert 

-----Original Message-----
From: Wacek Kusnierczyk [mailto:Waclaw.Marcin.Kusnierczyk@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

______________________________________________
R-help@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.



      
	[[alternative HTML version deleted]]


