Visualize linear model diagnostics or predictions.
Arguments
- x
A
stat_lmobject- type
Character. Type of plot:
"residuals": Residual plot"qq": Q-Q plot"fitted": Fitted vs observed"predictions": Predictions along predictor (shape regression only)
- which
For diagnostic plots, which response/harmonic to plot (integer)
- ...
Additional arguments passed to plot functions
