powered by
Given an rsplit object, complement will determine which of the data rows are contained in the assessment set. To save space, many of the rset objects will not contain indicies for the assessment split.
rsplit
complement
rset
complement(x, ...)
An rsplit object
Not currently used
A integer vector.
populate()
# NOT RUN { set.seed(28432) fold_rs <- vfold_cv(mtcars) head(fold_rs$splits[[1]]$in_id) fold_rs$splits[[1]]$out_id complement(fold_rs$splits[[1]]) # }
Run the code above in your browser using DataLab