Re: [R] Subsetting a list

From: Vincent Goulet <vincent.goulet_at_act.ulaval.ca>
Date: Thu 20 Oct 2005 - 03:45:16 EST

Le 19 Octobre 2005 11:09, Martin Maechler a écrit :

[...]

> Lists can have 'dim' attributes and hence be treated as arrays;

For me, this is an amazing feature that I discovered almost by accident (I tried it an it worked)! This creates a sort of three-dimensional object --- much like an array --- where the third dimension is of varying length. Wow.

I agree, though, that the result of 'print' on such an object is not crystal clear (but does make sense).

[...]

-- 
  Vincent Goulet, Associate Professor
  École d'actuariat
  Université Laval, Québec 
  Vincent.Goulet_at_act.ulaval.ca   http://vgoulet.act.ulaval.ca

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Oct 20 03:50:29 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 19:07:00 EST