sampleMatrix: Find indices of the matrix that match the pattern for...

Description Usage Arguments Value

Description

Searches for and randomly selects indices in an observation matrix that matches matrix(c(0,1,1,0),nrow=2) or matrix(c(1,0,0,1),nrow=2). Used internally by createRandomGraph for generating random graphs.

Usage

1

Arguments

x

a m x n matrix or data frame of observational data

Value

A list containing the rows and columns associated with the matching pattern


thom82/whassocr documentation built on May 31, 2019, 10:46 a.m.