Description Usage Arguments Details Value See Also Examples
View source: R/miscellaneous-functions.R
Combine two or more concordances to form a new concordance, via
a rbind
-like operation.
1 |
... |
Objects of class |
Concordances that are to be spliced together must have classifications with the same names. The result of the splicing must also be a many-to-one or one-to-one relationship between classifications. Duplicate rows are deleted.
An object of class Concordance
.
chain
combines concordances via a
merge
-like operation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | x <- cbind(c1 = c("a", "b", "c"), c2 = c("q", "r", "r"))
x <- Concordance(x)
y <- cbind(c1 = c("e", "f"), c2 = c("s", "t"))
y <- Concordance(y)
x
y
splice(x, y)
x <- cbind(c1 = c("a", "b", "c"), c2 = c("q", "r", "r"))
x <- Concordance(x)
y <- cbind(c2 = c("r", "s"), c1 = c("c", "d"))
y <- Concordance(y)
x
y ## columns in different order, and rows overlap with 'x'
splice(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.