Learn R Programming

BEQI2 (version 1.0-0)

pool: Pooling

Description

This function randomly assigns samples to pools of approximately equal area

Usage

pool(sampleId = 1:length(area), area, targetArea, maxTry = 100L)

Arguments

Value

vector with idenitifiers (integers) indicating the pool to which each sample belongs (NA for samples that could not be pooled)