loops over the variable control table to add media transformations based on either variable specific transformations or tunable ranges

add_steps_media(
  this_recipe,
  var_specific_controls = var_controls,
  media_controls = transform_controls
)

Arguments

this_recipe

a recipe object

media_controls

Defaults to transform_controls; a tibble containing groups of variables (ie role2 values) that assignes ranges to asymptote, saturation_speed, and retention IF there are no values for the individual variables

var_specfic_controls

Defaults to var_controls; a tibble containing variable name, role, role2, asymptote, saturation_speed, sign , and retention values (or blanks)

Value

a recipe