getAdj: Get Object as Adjacency Matrix

Description Usage Arguments Details Value

View source: R/8-get.R

Description

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

Usage

1
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.


propr documentation built on Dec. 16, 2019, 9:30 a.m.