make_sparse_matrix {cicero} | R Documentation

## Make a symmetric square sparse matrix from data frame

### Description

Convert a data frame into a square sparse matrix (all versus all)

### Usage

    make_sparse_matrix(data, i.name = "Peak1", j.name = "Peak2", x.name = "value")

### Arguments

`data` | data frame
`i.name` | name of i column
`j.name` | name of j column
`x.name` | name of value column

### Value

sparse matrix

[Package cicero version 1.6.2 Index]