.p
A single predicate function, a formula describing such a
predicate function, or a logical vector of the same length as .x.
Alternatively, if the elements of .x are themselves lists of
objects, a string indicating the name of a logical element in the
inner lists. Only those elements where .p evaluates to
TRUE will be modified.
.right
If FALSE, the default, starts at the beginnging
of the vector and move towards the end; if TRUE, starts at the end
of the vector and moves towards the beginning.