MoveEdges: MoveEdges

Description Usage Arguments Details

View source: R/models.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.


lorenzha/hdcd documentation built on Sept. 2, 2018, 8:20 p.m.