AndriSignorell/DescTools

`plot.Desc.numfact` with `type="dens"` should allow non-default `xlab` and `ylab` (Desc plots)

GegznaV opened this issue · 0 comments

This code results in an error. For consistency, ylab

Desc(temperature ~ driver, data = d.pizza) |> plot(xlab = "ok", ylab = "ok", type="dens")
Error in PlotMultiDens.default(z, xlim = xlim, col = col, args.legend = args.legend,  : 
  formal argument "ylab" matched by multiple actual arguments

And the following code doesn't change axis labels either:

Desc(temperature ~ driver, data = d.pizza) |> plot(xlab = "ok", type="dens")

Without type="dens" works as expected.