Automatically plots the effects_drminal relationship computed by
effects_drm(). If ggplot2 is installed, it returns a ggplot object;
otherwise, it falls back to base R graphics.
Usage
# S3 method for class 'eff_drm'
plot(x, rug_data = NULL, ...)Arguments
- x
An object of class
eff_drm, usually the output ofeffects_drm().- rug_data
An optional
data.framecontaining the original data to add a rug plot to the x-axis.- ...
Additional arguments passed to the underlying plotting functions.
