see icon indicating copy to clipboard operation
see copied to clipboard

plot() not working with describe_distribution(x) when x is a list

Open etiennebacher opened this issue 3 years ago • 0 comments

https://github.com/easystats/datawizard/pull/105 adds a method for lists in describe_distribution(), but lists are not supported by plot():

library(datawizard)
library(see)

x <- describe_distribution(list(mtcars$mpg, mtcars$cyl))
plot(x)

Error: Failed at retrieving data :( Please provide original model or data through the `data` argument

etiennebacher avatar Mar 15 '22 07:03 etiennebacher