check_batch: Verifies the input format of the batch arguments.

Description Usage Arguments Value

Description

Verifies the input format of the batch arguments.

Usage

1
check_batch(batch, ref, n_samples)

Arguments

batch

Character/Numeric/Factor. The vector should represent the batch belongings for the samples in the test set x. If a vector is supplied, each batch is independently adjusted. Therefore, each batch must contain at least 1 reference sample.

ref

Numeric vector, index of the reference samples in the test set.

n_samples

Numeric, number of samples in x.

Value

Character vector.


robingradin/bara documentation built on May 9, 2019, 2:24 a.m.