This method and function help find which data belong in the analysis and assessment sets.
complement(x, ...)
# S3 method for class 'rsplit'
complement(x, ...)
# S3 method for class 'rof_split'
complement(x, ...)
# S3 method for class 'sliding_window_split'
complement(x, ...)
# S3 method for class 'sliding_index_split'
complement(x, ...)
# S3 method for class 'sliding_period_split'
complement(x, ...)
# S3 method for class 'apparent_split'
complement(x, ...)A integer vector.
Given an rsplit object, complement() will determine which
of the data rows are contained in the assessment set. To save space,
many of the rsplit objects will not contain indices for the
assessment split.