mtorchiano / effsize

Effsize - a package for efficient effect size computation
GNU General Public License v2.0
104 stars 11 forks source link

VD.A Magnitude not being computed on Windows #11

Closed GiovaniGuizzo closed 8 years ago

GiovaniGuizzo commented 8 years ago

I found a problem when computing the Vargha and Delaney's A on Windows. It does not print the magnitude of the difference. Also, using the $magnitude variable the result is NULL.

I am using Windows 10, R 3.3.0 and the latest effsize package. Here is a simple call:

require(effsize)
VD.A(c(1,2,3), c(1,2,3))

It prints:

Vargha and Delaney A

A estimate: 0.5 ()

I have tried using other values and nothing changes. In Ubuntu with R 3.2.3 it works fine, but in Windows not. I also tried using R-devel and R 3.2.5 to no success. It also happens in other Windows machines I have here.

GiovaniGuizzo commented 8 years ago

Found the problem. Just a variable written "magniture" instead of "magnitude".

Fixed it. Pull Request: #12