Description Usage Arguments Details Value Examples
Pivot convo structure to have one list element per stub each containing a numeric vector with the level(s) at which that stub appears (as opposed to one list element per level with entries for each stub).
1 | pivot_convo(convo, repeats_only = TRUE)
|
convo |
A |
repeats_only |
Boolean. Whether to return only stubs which exist in multiple levels |
The main use case for this function is validating that stubs do not appear at
multiple levels. For this reason, the argument repeats_only
defaults to TRUE
and only stubs existing in multiple levels are returned.
Named list with one element per stubs (of any level) containing a character vector of all levels at which that stub appears
1 2 3 | convo <- list(letters[1:3], letters[2:4], letters[3:6])
pivot_convo(convo)
pivot_convo(convo, repeats_only = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.