R - Accessing elements of a list from strsplit
17/09/09 15:31 Filed in: R Language | statistics
Scenario - In order to extract certain parts of a string, it’s useful to use the R strsplit function, but it returns a list and it’s not immediately obvious how to access what you want in the list. Here are some attempts followed by the solution.
It's not clear how to access any aspect of the split list elements.
Finally, stumble on the form needed to address an element of the split list:
It's not clear how to access any aspect of the split list elements.
Finally, stumble on the form needed to address an element of the split list:
asdfasdf