cor giving odd result

I am trying to run a cor and a cor test. the cor.test works fine, but when i run the cor it gives a weird result.

I run cor(PreschoolDataUpdate$PQA, PreschoolDataUpdate$GAPQ) and it gives result
[1] NA

I tried making a tribble of the two so there would be no NA or blank spaces in my data set and it still have NA. Any advice?

Check if there are any NA in the tribble.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.