Varies one variable and holds others at typical values (median/mode) to plot the predicted parameter curve (default: mu). Uses ggplot2 if available, otherwise base.
effect_plot(fit, var, data, what = "mu", grid = 100)# S3 method for effect_plot_failure
print(x, ...)
a ggplot object if ggplot2 present; otherwise draws base plot and returns NULL
Invisibly returns x.
sb_gamlss object (or gamlss)
character, name of the variable to vary
original data.frame used to fit
which parameter to predict ("mu","sigma","nu","tau")
number of grid points for numeric variable
object returned by effect_plot() when prediction fails
unused