AndriSignorell / DescTools

Tools for Descriptive Statistics and Exploratory Data Analysis
http://andrisignorell.github.io/DescTools/
86 stars 18 forks source link

`plot.Desc.factfact` ignores x and y labels (Desc plots) #142

Closed GegznaV closed 7 months ago

GegznaV commented 7 months ago
Desc(operator ~ driver, data = d.pizza) |> plot(xlab = "ok", ylab = "ok", main = NA)

image

Current code:

plot.Desc.factfact <- function(x, main = NULL, col1 = NULL, col2 = NULL,
                               horiz = TRUE, ...) {
  plot.Desc.table(x, main = main, col1 = col1, col2 = col2, horiz = horiz)
}

Possibly fixed issue (... added):

plot.Desc.factfact <- function(x, main = NULL, col1 = NULL, col2 = NULL,
                               horiz = TRUE, ...) {
  plot.Desc.table(x, main = main, col1 = col1, col2 = col2, horiz = horiz, ...)
}