R: Get Object as Adjacency Matrix

getAdj {propr} | R Documentation

## Get Object as Adjacency Matrix

### Description

This function uses `getMatrix` to return a `propr` or `propd` object as an adjacency matrix. The diagonal is set to 0.

### Usage

    getAdj(object, cutoff = 1)

### Arguments

`object` | A `propr` or `propd` object.
`cutoff` | This argument indicates the value at which to cutoff the results. For "rho" and "cor", the function returns pairs with a value greater than the cutoff. For "theta", "phi", and "phs", the function returns pairs with a value less than the cutoff. Leave the argument as `NA` to return all results.

### Details

This function is faster than `getAdjacency`, but has fewer arguments to tailor results.

### Value

An adjacency matrix.

[Package propr version 4.1.6 Index]