How can I add an extra column containing the rank
to a ragged array indexed by more than one grouping
factors?
E.g. with the barley dataset:
How can I to add an additional column ``rank''
containing the rank of the ``yield'' of
the different varieties in relation to the indices
``year'' and
What do you mean by `a repeatedly ragged array': you haven't defined it?
There is no dataset `barley' in vanilla R. Which one did you mean?
There is a data frame in package lattice, but that is neither an array nor
ragged.
If that is what you want, rank.lists will be a list matrix. The