ACCLAB / dabestr

Data Analysis with Bootstrap Estimation in R
https://acclab.github.io/dabestr
Apache License 2.0
211 stars 34 forks source link

Dabestr no longer reproducible? #124

Closed coopert25 closed 2 years ago

coopert25 commented 2 years ago

To whom it may concern,

I have tried reproducing the below code that I took from CRAN (https://www.r-pkg.org/pkg/dabestr) Providing a didn't make any mistakes copying the lines I haven't been able to reproduce the cummings plot. Essentially the object cannot be coerced to type 'double' (you can find the error message at the bottom). Anyway hate to be a pain but if you can let me know what I'm doing wrong that would be great.

Thanks,

Tal

Reproducible code:

unpaired_mean_diff <- dabest(iris, Species, Petal.Width, idx = c("setosa", "versicolor", "virginica"), paired = FALSE) unpaired_mean_diff dabestr (Data Analysis with Bootstrap Estimation in R) v0.3.0

Good evening! The current time is 18:45 PM on Monday November 08, 2021.

Dataset : iris The first five rows are: Sepal.Length Sepal.Width Petal.Length Petal.Width Species 1 5.1 3.5 1.4 0.2 setosa 2 4.9 3.0 1.4 0.2 setosa 3 4.7 3.2 1.3 0.2 setosa 4 4.6 3.1 1.5 0.2 setosa 5 5.0 3.6 1.4 0.2 setosa

X Variable : Species Y Variable : Petal.Width

Effect sizes(s) will be computed for:

  1. versicolor minus setosa
  2. virginica minus setosa

plot(unpaired_mean_diff) Error in xy.coords(x, y, xlabel, ylabel, log) : 'language' object cannot be coerced to type 'double'