Displaying 1 result from an estimated 1 matches for "ncatest".
Did you mean:
ncatest2
2006 Mar 22
1
error message with stats package fx cor R aqua v1.14
...am using the funtion cor() and inputting a large matrix with a column
of 0, for which i get NA's for. I'm looking for a way to overcome
that divide by 0 error btw but my real issue is this:
I specify the method as pearson but the error messages always say kendall
ex)
> read.csv("ncatest.csv", header = FALSE, sep = ",", dec=".")->ncatest
> ncatest<- ncatest[,-1]
> rownames(ncatest2)<- ncatest[,1]
> ncatest2<-as.matrix(ncatest2)
> > dim(ncatest2)
[1] 10482 11
> cornca<-cor(ncatest2, method="pearson")
Warnin...