adjcorrH: Generates a matrix B which has correlation rho with the input...

Description Usage Arguments Value Author(s)

View source: R/adjcorrH.r

Description

Generates a matrix B which has correlation rho with the input matrix

Usage

1
adjcorrH(A, P, corr)

Arguments

A

adjacency matrix of the original graph G

P

matrix of probabilities, same size as A

corr

correlation of edge in B v. A (should be positive)

Value

a graph of the same size as A such that the correlation coefficient between the entries of the two adjacency matrices is corr.

Author(s)

Heather Gaddy Patsolic <hgaddy1@jhu.edu>


youngser/VN documentation built on July 18, 2020, 12:48 p.m.