Skip to contents

Extract the training labels or response variable from an object.

Usage

y_train(obj)

Arguments

obj

The object from which to extract the training response variable.