allows ... inputs in plot models

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-05-29 11:47:15 +02:00
commit f2a522dcb6
No known key found for this signature in database
10 changed files with 20 additions and 15 deletions

View file

@ -8,7 +8,7 @@
#' @examples
#' mtcars |> plot_scatter(pri = "mpg", sec = "wt")
#' mtcars |> plot_scatter(pri = "mpg", sec = "wt",ter="carb")
plot_scatter <- function(data, pri, sec, ter = NULL, color.palette="viridis") {
plot_scatter <- function(data, pri, sec, ter = NULL, color.palette="viridis", ...) {
if (is.null(ter)) {
rempsyc::nice_scatter(
data = data,