adjacency: sprof to adjacency matix

Description Usage Arguments Value Author(s) References Examples

View source: R/adjacency.R

Description

convert node information from a sprof structure to adjacancy matrix.

Usage

1
adjacency(sprof, keep.names = TRUE, rmzero=TRUE,  no.name="<nn>")

Arguments

sprof

a sprof structure.

keep.names

boolean. Copy node names as row- and column names.

rmzero

boolean. Remove nodes with no edges.

no.name

If not null: replacement for empy strings as name.

Value

a correspondency matrix

Author(s)

Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>

References

See the vignette of package sprof.

Examples

1
2

sprof documentation built on May 2, 2019, 4:45 p.m.