Description Usage Arguments Value See Also Examples
Map each element in a list or vector by an expression.
1 | list.map(.data, expr)
|
.data |
a |
expr |
A lambda expression |
A list
in which each element is mapped by expr
in .data
1 2 3 4 5 |
$p1
[1] "A"
$p2
[1] "B"
$p3
[1] "B"
$p1
[1] 8
$p2
[1] 9
$p3
[1] 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.