tests/smartbind_emptynames.R

library(gtools)

df1 <- data.frame(a=1, b=2,          d=TRUE )
df2 <- data.frame(     b=7, c="YES", d=FALSE)
df3 <- data.frame(     b=7, c="YES"         )

smartbind( df1, df2, df3 )
smartbind( df1=df1, df2, df3=df3 )

Try the gtools package in your browser

Any scripts or data that you put into this service are public.

gtools documentation built on May 2, 2019, 4:52 p.m.