[R] help with rcorr in Hmisc
Ulrich Leopold
uleopold at science.uva.nl
Mon Sep 9 10:35:52 CEST 2002
Hi,
I get the following error meassage:
--------------------------------------------------
rcorr(lskPox0t30[c(22,3:7)], type=c("spearman"))
Error in "[<-.data.frame"(*tmp*, is.na(x), value = 1e+30) :
matrix subscripts not allowed in replacement
--------------------------------------------------
But I do not know how to solve it? Another problem could be NAs in the data.
How can I over come this problem if I would like to omit NAs like
use="pairwise.complete.obs"?
Regards, Ulrich
--
__________________________________________________
Ulrich Leopold MSc.
Department of Physical Geography
Institute for Biodiversity and Ecosystem Dynamics
Faculty of Science
University of Amsterdam
Nieuwe Achtergracht 166
NL-1018WV Amsterdam
Phone: +31-(0)20-525-7456 (7451 Secretary)
Fax: +31-(0)20-525-7431
Email: uleopold at science.uva.nl
http://www.frw.uva.nl/soil/Welcome.html
Check us also out at:
Netherlands Centre for Geo-ecological Research
http://www.frw.uva.nl/icg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list