ProjectMOSAIC / mosaicModel

Utilities for creating, visualizing, and predicting with models
Other
2 stars 1 forks source link

Possible API change for mod_plot() #20

Open rpruim opened 6 years ago

rpruim commented 6 years ago

We could make the syntax more like ggformula if we specified non-default uses of the variables more like this:

mod_plot(model, x = ~var1, color = ~var2, facet = var3 ~ var4)

This could allow for using other attributes (shape, alpha, linetype) too.

I haven't looked to see how hard the implementation would be.