tuple_assignment {tidytidbits} | R Documentation |
Infix operator for python-style tuple assignment
Description
Infix operator for python-style tuple assignment
Usage
l %=% r
g(...)
Arguments
l |
left-hand side: "tuple" or variables created by |
r |
right-hand side: Vector to assign to left-hand side variable |
... |
Left-hand side variables to group |
Value
Last assigned value
Examples
g(a,b) %=% c(1,2) # equivalent to a <- 1; b <- 2
[Package tidytidbits version 0.3.2 Index]