Concordance {dembase}R Documentation

Create a concordance.

Description

Create an object of class "Concordance".

Usage

Concordance(object)

Arguments

object

A matrix or data frame with two columns and unique colnames.

Details

object should contain two classifications, one in each column. The names of the classifications are taken from colnames(object). Duplicate rows are deleted. The classifications must have a many-to-one or one-to-one relationship.

Value

An object of class "Concordance".

See Also

"Concordance", classifications

Examples

x <- cbind(c1 = c("a", "b", "c"), c2 = c("x", "y", "x"))
x <- Concordance(x)
classifications(x)

x <- cbind(c1 = c("a", "b", "c"), c2 = c("x", "y", "x"))
x <- Concordance(x)
x
classifications(x)

[Package dembase version 0.0.0.119 Index]