adjust_test_set: Adjusts test data to make the mean values of the reference...

Description Usage Arguments Value

Description

Adjusts test data to make the mean values of the reference samples equal

Usage

1
adjust_test_set(bara_fit, x, ref, batch)

Arguments

bara_fit

Object of class BaraFit, created using the training set.

x

Matrix, data to be compressed and adjusted (the test set), already centered and scaled.

ref

Numeric, reference samples for the test set.

batch

Characters, representing the batch belongings of the test set x.

Value

Matrix, the adjusted test set.


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