List out unique and shared names between data.frames x and y

pool_df(x, y)

Arguments

x

data.frame to be compared

y

data.frame to be compared

Author

Samuel P Callisto, PhD

Examples

library(dplyr)

Theoph_mod <- Theoph %>% dplyr::mutate(NEWCOL = 1) %>% dplyr::select(-Dose)
pool_df(x = Theoph, y = Theoph_mod)
#> $Theoph
#> [1] "Dose"
#> 
#> $Theoph_mod
#> [1] "NEWCOL"
#> 
#> $both
#> [1] "Subject" "Wt"      "Time"    "conc"   
#>