Published
- 1 min read
why is correlation na in r
The solution for this is noted below
why is correlation na in r
Solution
cor(data, use = "complete.obs")
# complete.obs ignores the NA's
Try other methods by searching on the site. That is if this doesn’t work