Skip to content
Prev 164369 / 398503 Next

repeated searching of no-missing values

To me the basic structures are vectors, matrices and arrays; lists;
and data frames (that these are not mutually exclusive categories).
If you master these three basic types, you can master any more complex
structure because it must be some combination of the simpler types.
Similarly, while each plyr function only works with one of the types,
you should be able to deal with any arbitrarily complex data structure
by combining multiple functions.

This approach doesn't generalise so well with truly recursive data
structures (e.g. trees) but these are rarely encountered in their
traditional CS form in R.

Hadley