omit_data
Iterate over omissions of a certain group in a dataset. One group is omitted at a time.
omit_data(dataset_or_model, group, name_pattern = "omitted_{}")
dataset_or_model
: (data.frame or Model) Dataset or model for which to omit recordsgroup
: (str) Name of the column to use for groupingname_pattern
: (str) Name to use for generated datasets. A number starting from 1 will be put in the placeholder.(iterator) Iterator yielding tuples of models/dataframes and the omitted group