Skip to content

Commit

Permalink
better to use patchwork::wrap_plots()
Browse files Browse the repository at this point in the history
  • Loading branch information
larmarange committed Aug 1, 2023
1 parent 1500bf6 commit 470274d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ggcoef_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ ggcoef_table <- function(
)

# join the plots
coef_plot + table_plot + patchwork::plot_layout(widths = table_witdhs)
patchwork::wrap_plots(coef_plot, table_plot, nrow = 1, widths = table_witdhs)
}

#' @describeIn ggcoef_model plot a tidy `tibble` of coefficients
Expand Down

0 comments on commit 470274d

Please sign in to comment.