Skip to contents

Plot comparisons of smooths

Usage

# S3 method for compare_smooths
draw(object, ncol = NULL, nrow = NULL, guides = "collect", ...)

Arguments

object

of class "compare_smooths", the result of a call to compare_smooths().

ncol, nrow

numeric; the numbers of rows and columns over which to spread the plots

guides

character; one of "keep" (the default), "collect", or "auto". Passed to patchwork::plot_layout()

...

additional arguments passed to patchwork::wrap_plots().