incidence: Relation Incidences

Description Usage Arguments Value See Also Examples

Description

Determine the incidences of a relation.

Usage

1

Arguments

x

an object inheriting from class relation.

...

Further arguments passed to the labeling function used for creating the dimnames of the incidence matrix.

Value

For a k-ary relation, a k-dimensional numeric array with values in the unit interval inheriting from class relation_incidence whose elements give the memberships of the corresponding k-tuples are contained in the relation (for a crisp relation, a binary (0/1) array with elements indicating whether the corresponding tuples are contained in the relation or not).

See Also

relation; relation_incidence<- for modifying the incidences.

Examples

1
2
R <- as.relation(c(A = 1, B = 2, C = 3))
relation_incidence(R)


Search within the relations package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.