more on "[<-"

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
18 Nov 1998 19:01:35 +0100


Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:

> > z <- data[10:90,]
> > attributes(z)
> $dim
> [1] 81  3
> $tframe
> [1] 1981.50 2006.25    4.00
> 
> Splus:

> > attributes(z)
> $dim:
> [1] 81  3

It's a one-line change to get Splus behaviour. Anoyone think of a
reason *not* to do that??

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._