File: smartbind_emptynames.R

package info (click to toggle)
gtools 3.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 748 kB
  • sloc: ansic: 190; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
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)