pbreheny / visreg

Visualization of regression functions
http://pbreheny.github.io/visreg/
62 stars 18 forks source link

Add ax as argument to factorPlot, avoid warning #21

Closed RemkoDuursma closed 8 years ago

RemkoDuursma commented 8 years ago

After a recent update, visreg shows a warning for plots like,

visreg(model, "xfactor", by="yfactor", overlay=TRUE)

The warning was "ax" is not a graphical parameter. This is because ax is passed to factorPlot which does not expect it. I have added it as an argument and flag to turn off the plotting of the axes.

pbreheny commented 8 years ago

Great -- thank you very much for bringing this to my attention.