[R] Subsetting a list

Vincent Goulet vincent.goulet at act.ulaval.ca
Wed Oct 19 19:45:16 CEST 2005


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




More information about the R-help mailing list