moodymudskipper / tb

IN ~PROGRESS my own take on `[.data.frame`
0 stars 0 forks source link

should we rbind and cbind with unary + in .i and .j ? #23

Closed moodymudskipper closed 4 years ago

moodymudskipper commented 4 years ago

We'd make it work with the object itself too :

iris %tb>% .[+.x[Species ="any"],]

This is compact but not consistent with our convention of having .i and .j for indexing only, though I think it's intuitive enough ?

Revisit later and see if idea ages well.

moodymudskipper commented 4 years ago

in j it works this way naturally with splicing now, I think it's be weird to rbind with + though, maybe a ++ notation only for rbinding would work

moodymudskipper commented 4 years ago

done