powered by
simple helper function to return only specified list element of set of lists to be used with apply functions
OnlyNumberElement(AllData, Number)
list of lists
index number of list element to return
designated list element
created for easy indexing of lists of lists with apply functions
No references
# NOT RUN { Dat=list(c(list("new1"),list("new2")),c(list("Old1"),list("Old2"))) AllFileNames1=sapply(Dat,OnlyNumberElement,1) # }
Run the code above in your browser using DataLab