sampleBackground: Populate Neighbors with random pairs.

Description Usage Arguments Value

Description

Populate Neighbors with random pairs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
sampleBackground(object, num)

## Default S3 method:
sampleBackground(object, num)

## S3 method for class 'Neighbors'
sampleBackground(object, num)

## S3 method for class 'Blocks'
sampleBackground(object, num)

## S3 method for class 'Scores'
sampleBackground(object, num)

Arguments

object

object containing pre-computed Neighbors from the BSN algorithm.

num

Number or proportion of current Neighbors if <1 to populate with.

Value

An object of class Neighbors containing the possible duplicate pairs sampled at random.


mPloenzke/bsnR documentation built on May 21, 2019, 9:18 a.m.