as.signed: Coerce to a Signed Object

Description Usage Arguments Details Value See Also Examples

Description

A generic function for coercing an object to a Signed class.

Usage

1

Arguments

x

a matrix representing the signed network

labels

(optional) labels for the signed matrix

Details

Since the semiring function requires an object with a 'Signed' class, this function produces this class object from an array representing the signed network

Value

The array as a Signed class

See Also

signed, semiring

Examples

1
2
3
4
5
## Load the data
data("incubA")

## Coerce parts of the signed matrix with two types of relations
as.signed(signed(incubA$IM)$s[1:2,1:2])


Search within the multiplex 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.