The help pack says:

use: an optional character string giving a method for computing covariances
in the presence of missing values. This must be (an abbreviation of) one of
the strings "everything", "all.obs", "complete.obs", "na.or.complete", or
"pairwise.complete.obs"

If I used "everything", the results would be NAs again. "all.obs" would
result in error. "complete.obs" gives me error too. "na.or.complete" gives
me all NAs... But "pairwise.complete.obs" finally got the right results.

--
View this message in context: 
http://r.789695.n4.nabble.com/Excluding-NAs-from-round-correlation-tp3741296p3742039.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to