makeunweighted: For converting certain synchrony matrices to unweighted...

View source: R/makeunweighted.R

makeunweightedR Documentation

For converting certain synchrony matrices to unweighted versions

Description

Convenience function for converting certain synchrony matrices to unweighted versions

Usage

makeunweighted(mat, sigthresh)

Arguments

mat

A synchrony matrix based on significance testing

sigthresh

Significance threshold to use

Value

makeunweighted converts to an unweighted version of the input. Entries of mat less than sigthresh become a 1, other entries become a 0. The diagonal is NA.

Note

Internal function, no error checking

Author(s)

Lei Zhao, lei.zhao@cau.edu.cn, Daniel Reuman reuman@ku.edu


reumandc/wsyn documentation built on May 14, 2022, 1:20 a.m.