mfasiolo / mgcViz

An R package for interactive visualization of GAM models
https://mfasiolo.github.io/mgcViz/
76 stars 9 forks source link

Add again the xlim and ylim arguments #32

Closed mfasiolo closed 7 years ago

mfasiolo commented 7 years ago

The xlim argument is still needed for 1D smooths, even if we can zoom in and out using ggplot2. For 2D smooths we'll also need ylim.

mfasiolo commented 7 years ago

Done here 54eb485426edc81de0c1ac51d1369afaa326a559. Didn't do it for check1D and check2D: it seems complicated and possibly not worth it. Same for plotDiff() methods. For plotSlice() the xlim and ylim go into the "..." and then to plot.mgcv.smooth.MD().