Skip to content
Prev 12343 / 63461 Next

Incorrect handling of NA's in cor() (PR#6750)

Full_Name: Marek Ancukiewicz
Version: 1.8.1
OS: Linux
Submission from: (NULL) (132.183.12.87)


Function cor() incorrectly handles missing observation with method="spearman":
[1] -0.1428571
[1] -0.4

These two results should be the same.