grantmcdermott / tinyplot

Lightweight extension of the base R graphics system
https://grantmcdermott.com/tinyplot
Apache License 2.0
259 stars 8 forks source link

tinyplot_add first argument can be unnamed #259

Closed vincentarelbundock closed 1 week ago

vincentarelbundock commented 1 week ago

This allows tinyplot_add to have a first unnamed argument. It's convenient when we want to overwrite the formula of a function. Ex: mpg~hp|cyl in one plot and mpg~hp in a layer on top.

Very small change with low impact and risk. If the tests pass, I'll probably just merge right away.