Formal parameters in geoms and stats: how to pass them from one to the other?

Could you give an example (preferably with a reprex) to make this a bit more concrete?


There's also a nice FAQ on how to do a minimal reprex for beginners, below:

For pointers specific to the community site, check out the reprex FAQ.