Description Usage Arguments See Also Examples
This function is a helper designed to be used in tdrply
. It searches
recurssively in an object for a list of data.frames at a given level of depth.
If the search ends to atomic vectors, the function builds a list of
data.frames by taking their elements by two successively.
1 | df_search(.idx)
|
.idx |
An object. |
1 2 3 4 5 6 7 8 9 10 11 | .idx <- list(1:10, list(1:10))
# df_search(.idx) # error
.idx <- list(1:10, data.frame(1:10, 1:10))
# df_search(.idx) # error
.idx <- data.frame(1:10, 10:1)
df_search(.idx)
.idx <- list(a = .idx, b = .idx)
df_search(.idx)
.idx <- list(a = 1:3, b = 1:10)
df_search(.idx)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.