Hi try
str(x) which will show you how your data look like. Obviously during some reading/manipulation your data became non numeric. HTH Petr On 10 Nov 2005 at 16:49, Illyes Eszter wrote: Date sent: Thu, 10 Nov 2005 16:49:56 +0100 (CET) From: Illyes Eszter <[EMAIL PROTECTED]> To: [email protected] Subject: [R] error in rowSums:'x' must be numeric > Dear All, > > It's Eszter again from Hungary. I could not solve my problem form > yesterday, so I still have to ask your help. > > I have a binary dataset of vegetation samples and species as a comma > separated file. I would like to calculate the Jaccard distance of the > dataset. I have the following error message: > > Error in rowSums(x, prod(dn), p, na.rm) : 'x' must be numeric > In addition: Warning message: > results may be meaningless because input data have negative entries > in: vegdist(t2, method = "jaccard", binary = FALSE, diag = FALSE, > > Do you have any idea what can be the problem? I have only 0 and 1 in > the dataset. > > Thank you very much! All the best: > > > Eszter > > > ______________________________________________________________________ > _ KGFB 2006 - Garantáltan a legjobb ár! Nyerje meg az új Swiftet + > garantált 10,000,- Ft értékű ajándék. WWW.NETRISK.HU > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html Petr Pikal [EMAIL PROTECTED] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
