OnlyNumberElement: indexes list of lists

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/OnlyNumberElement.R

Description

simple helper function to return only specified list element of set of lists to be used with apply functions

Usage

1
OnlyNumberElement(AllData, Number)

Arguments

AllData

list of lists

Number

index number of list element to return

Details

created for easy indexing of lists of lists with apply functions

Value

comp1

designated list element

Note

No notes

Author(s)

William Terry

References

No references

Examples

1
2
Dat=list(c(list("new1"),list("new2")),c(list("Old1"),list("Old2")))
AllFileNames1=sapply(Dat,OnlyNumberElement,1)

PathSelectMP documentation built on May 2, 2019, 3:15 a.m.