Return logical vector for training-subset indices from a cvpartition object.
C should be a cvpartition object. i is the fold index (default is 1).
See also: cvpartition, @cvpartition/test.
Package: statistics