ggplot2::layer() to model check visualizationmc_gglayer.RdSince vmc uses ggplot2 to implement the plots, you can use mc_gglayer()
to pass in a ggplot layer to the ggplot object generated by vmc
mc_gglayer(layers)A ggplot layer or a list of ggplot layers.
library(ggplot2)
mcplot(mpg_model) +
mc_gglayer(coord_flip())
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's fill values.