Partial residual regression plot using ggpubr for display and visreg for partial residual calculation
prplot(
mdl,
xvariable,
byvariable,
titlestring = "",
ystring = "",
addpoints = 0,
palette = "npg",
colorvar = "",
extradata = NULL
)
the quantile transformed vector