pbreheny / visreg

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

added handling of custom reference for the X variable in the contrast plot #33

Closed jealie closed 7 years ago

jealie commented 7 years ago

Addresses the issue: https://github.com/pbreheny/visreg/issues/32#issue-229451359

So far nothing went wrong in my test.

Note: users can specify the factor using their level order (cond=list(Heat=2)) or the level name (cond=list(Heat='Mild')). This might cause confusion if the level names are numbers themselves (but who would do that?)