to_matrix: From Dataframe to Adjacency or Incidence Matrix

Description Usage Arguments Author(s)

View source: R/cleaning_and_structuring_tools.R

Description

to_adj_matrix returns a matrix with the values tibble imported from an excel file.

Usage

1

Arguments

df,

A df produced by the read_xlsx function.

rownames,

A column value for the row that will be reassigned as rownames and then removed from the data frame.

Author(s)

Christopher Callaghan, cjcallag@nps.edu


NPSCORELAB/COREnets documentation built on March 28, 2020, 7:57 a.m.