sampleBackground: Populate Neighbors with random pairs.

Description Usage Arguments Value

View source: R/sampleBackground.R

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 June 30, 2018, 9:11 a.m.