Skip to content
Prev 300060 / 398503 Next

Substitute list value

On 13/07/2012 9:50 AM, Bert Gunter wrote:
I think Jessica was right, and clear.  List members are accessed using 
[[ ]].  Lists are subsetted using [ ].  Your first example extracts the 
second member of x.  Your second example constructs a new list with a 
subset of the members that are in x.

Duncan Murdoch