Description Usage Arguments Value Examples
Performs union operations on SQLDataFrame
objects.
1 2 |
x |
A |
y |
A |
A SQLDataFrame object.
1 2 3 4 5 6 7 8 9 10 11 12 | obj1 <- SQLDataFrame(dbname = "inst/extdata/test.db",
dbtable = "state",
dbkey = c("region", "population"))
obj2 <- SQLDataFrame(dbname = "inst/extdata/test1.db",
dbtable = "state1",
dbkey = c("region", "population"))
obj1_sub <- obj1[1:10, 2:3]
obj2_sub <- obj2[8:15,2:3]
## union
res_union <- union(obj1_sub, obj2_sub) ## sorted
dim(res_union)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.