sample_edges_with_unique_vertices: Sample edges with unique vertices

Description Usage Arguments Details Value

View source: R/sample_edges.R

Description

Draws random samples until condition is met.

Usage

1

Arguments

x

An adjacency matrix or igraph object.

size

The desired sample size.

Details

If the input is an adjacency matrix, the return value is a 1-D index identifying a sample of non-zero values in the matrix. If the input is an igraph, then the return value is an igraph.es object—the output of E.

Value

A sample of edges. See details.


crcox/latticize documentation built on Dec. 19, 2021, 6:19 p.m.