search for: neededresult

Displaying 1 result from an estimated 1 matches for "neededresult".

2011 Feb 04
3
lapply, strsplit, and list elements
...ements: x = c("349/077,349/074,349/100,349/117", "340/384.2,340/513,367/139,455/128,D13/168", "600/437,128/903,128/904") The task I want to perform, is to generate a list, comprising the portion in front of the "/" of each element of x: neededResult = list(c("349","349", "349", "349"), c("340", "340", "367", "455", "D13"), c("600", "128", "128") ) I figured out that...