I'm running cor()
on a data.frame
with all numeric values and I'm getting this as the result:
price exprice...
price 1 NA
exprice NA 1
...
So it's either 1
or NA
for each value in the resulting table. Why are the NA
s showing up instead of valid correlations?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…