Displaying 3 results from an estimated 3 matches for "vec_rcbind".
Did you mean:
vec_rbind
2018 Aug 06
2
vctrs: a type system for the tidyverse
Hi all,
I wanted to share with you an experimental package that I?m currently
working on: vctrs, <https://github.com/r-lib/vctrs>. The motivation for
vctrs is to think deeply about the output ?type? of functions like
`c()`, `ifelse()`, and `rbind()`, with an eye to implementing one
strategy throughout the tidyverse (i.e. all the functions listed at
2018 Aug 06
0
vctrs: a type system for the tidyverse
...venient not to need to do the column
subsetting myself. This behavior would also meet your design goals of
associativity and commutivity.
I want to be clear, I think what you describe is a useful operation, if it
is what is intended, but perhaps a different name rather than calling it
rbind? maybe vec_rcbind to indicate that both rows and columns are being
potentially added to any given individual input.
Best,
~G
> - To create a new ?list\_of? type, a list where every element is of
> fixed type (enforced by `[<-`, `[[<-`, and `$<-`)
>
> - To think a little about the ?sha...
2018 Aug 06
3
vctrs: a type system for the tidyverse
...o data.frame
#> Dropped variables: y
#> 2: Lossy conversion from data.frame to data.frame
#> Dropped variables: y
> I want to be clear, I think what you describe is a useful operation, if it
> is what is intended, but perhaps a different name rather than calling it
> rbind? maybe vec_rcbind to indicate that both rows and columns are being
> potentially added to any given individual input.
Sorry, I should have mentioned that this is unlikely to be the final
name. As well as the problem you mention, I think calling them
vec_cbind() and vec_rbind() over-emphasises the symmetry betwee...