Removes invalid values in a slot of a Panel object.
This is usually called in .refineParameters
.
.removeInvalidChoices(x, field, choices)
An instance of a Panel class.
String containing the name of the relevant slot.
Character vector of permissible values for this slot.
x
where the slot named field
is replaced only with the values that exist in choices
.