Description Usage Arguments Value
This is the primary list building tool. Although the user might usually prefer
to work with append, it is incredibly useful to use prepend
in other functions that work on functional lists. In fact, we need this function
to implement append.
1 |
ls |
A function, with class |
el |
A data element (from R's standard data types) to add to the list |
A closure with the fl class added. The closure can be used to access
different properties of the list: either the head, tail or its empty status.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.