Open
Description
This might be too big of an ask, but in dplyr we can do this
data.frame(x=c(1,2,3)) %>% mutate(y=2*x, z=y+2)
that is, defining z and then using it in the same mutate call.
But is not possible with @transform
. It would be very nice to be able to do
@transform DataFrame(x=[1,2,3]) begin
:y = :x .* 2
:z = :y .+ 2
end
Is there a reason this isn't supported?
Metadata
Metadata
Assignees
Labels
No labels