[R] Testing for numeric(0)

Laurent Gautier laurent at cbs.dtu.dk
Thu Jul 17 10:50:04 CEST 2003


On Thu, Jul 17, 2003 at 10:16:28AM +0200, Søren Højsgaard wrote:
> Hi all, Can anyone tell me how to test for numeric(0) ?
> Best regards
> Søren Højsgaard



foo <- numeric(0)
identical(foo, numeric(0))



Hopin' it helps,


L.



> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

-- 
--------------------------------------------------------------
currently at the National Yang-Ming University in Taipei, Taiwan
--------------------------------------------------------------
Laurent Gautier			CBS, Building 208, DTU
PhD. Student			DK-2800 Lyngby,Denmark	
tel: +45 45 25 24 89		http://www.cbs.dtu.dk/laurent




More information about the R-help mailing list