[R] Canonical Correspondence analysis-CoCoAn package

Stephane Dray dray at biomserv.univ-lyon1.fr
Tue Nov 6 10:41:46 CET 2001


I don't understand why.. your matrix must contain only non-negative 
number. I think that the problem is that your data "Eplankton" is not 
convenient for CAIV. Can you send me your data set so i will see 
where is the problem.


>Hi R-users,
>
>    I am new to R environment.I want to carry out a
>correspondence analysis on a contigency table with 64
>columns and 298 observation of Environmental data.In
>many cells of the contigency table the frequency is
>just the value '1'.
>
>I got the  following error.
>
>
>>  CAIV(Eplankton)
>Error in if (L[i, j] < 0) return("Table L must contain
>non-negative numbers") :
>         missing value where logical needed
>In addition: Warning message:
>"<" not meaningful for factors in:Ops.factor(L[i,j],0)
>
>
>Any suggestion on what went wrong.
>
>Thanks in advance

-- 
Stéphane DRAY
---------------------------------------------------------------
Biométrie et Biologie évolutive - Equipe "Écologie Statistique"
Universite Lyon 1 - Bat 711 - 69622 Villeurbanne CEDEX - France

Tel : 04 72 43 27 56			   Fax : 04 78 89 27 19
       04 72 43 27 57 	   E-mail : dray at biomserv.univ-lyon1.fr 
---------------------------------------------------------------
ADE-4               http://pbil.univ-lyon1.fr/ADE-4/ADE-4F.html
---------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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