By adding another argument to sprinkle where recycle = c("colums", "rows"), values could be recycled by row or by column. This would work essentially the same as bg_pattern_by. I might leave bg_pattern_by as a sprinkle that takes the value of recycle except when directly specified otherwise.
Now that I've got the mechanics worked out, it would be really handy to be able to give more than one value to a sprinkle.
For instance, if I want to set the width of three columns, it would be nice to write
instead of
By adding another argument to
sprinkle
whererecycle = c("colums", "rows")
, values could be recycled by row or by column. This would work essentially the same asbg_pattern_by
. I might leavebg_pattern_by
as a sprinkle that takes the value ofrecycle
except when directly specified otherwise.