Thanks, Peter.
You're right, I mistyped and getOption('na.action') shows na.omit.
Perhaps my question was more commentary about my perceived lack of
rationale and orthogonality in R than it should have been. Presumably,
q[[i]] is a data frame and q[[i]][,1] is a numeric vector, so cor and
cor.tes
?cor says that cor() can be applied to
'numeric vector, matrix or data frame'
?cor.test requires
'numeric vectors of data values'
So, what's your q?
As to na.action:
?cor.test makes no reference to na.action for the default method.
Looking at the code of cor.test.default shows that only compl
2 matches
Mail list logo