MoveEdges: MoveEdges

Description Usage Arguments Details

View source: R/simulate.R

Description

Radomly move a share of the edges in a random graph

Usage

1
MoveEdges(x, share_moves = 0.1, tol = 1e-16)

Arguments

x

A precision matrix

share_moves

Share of edges to be moved.

tol

Tolerance for zero values.

Details

In order to create a slightly different graph with the same level of sparsity the selected share of edges will be randomly moved to positions where no edge existed before. Make sure to choose share_moves low for dense graphs.


mlondschien/hdcd documentation built on Jan. 5, 2021, 11:26 p.m.