Learn R Programming

CNPBayes (version 1.2.2)

downSampleEachBatch: Create tile labels for each observation

Description

Create tile labels for each observation

Usage

downSampleEachBatch(y, nt, batch)

Arguments

y
vector containing data
nt
the number of tiles in a batch
batch
a vector containing the labels from which batch each observation came from.

Value

Tile labels for each observation