Hi everyone.

I am having problems with NULL values. I understand in R one can
command the program to skip null values.
Can some one help me on the command line for that.
Do i enter is as part of the string in:
a<- read.table("filename.csv", header = T, row.names=1, sep=",");

My problem is largely when i attempt to use correlation for my data...
xcc <- cor(a);

The  error i get is as follows

Error in cor(a) : missing observations in cov/cor
In addition: Warning message:
In cor(a) : NAs introduced by coercion


Regards

Paul Murima

______________________________________________
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