Learn R Programming

migraph (version 0.7.1)

to: Tools for reformatting networks, graphs, and matrices

Description

Tools for reformatting networks, graphs, and matrices

Usage

to_unweighted(object, threshold = 1)

to_unnamed(object)

Arguments

object

A matrix, {igraph} graph, {tidygraph} tbl_graph, or {network} object.

threshold

For a matrix, the threshold to binarise/dichotomise at.

Examples

Run this code
# NOT RUN {
to_unweighted(project_rows(southern_women))
to_unnamed(project_rows(southern_women))
# }

Run the code above in your browser using DataLab