Hello, Im trying to use the package ade4 to build a taxonomy, though my data isnt biological. Heres the data (a small subset of the real data):
dat = matrix(c("070201","0201","01","100201","0201","01","070201","0201", "01","110201","0201","01","020501","0501","01","040102","0102","02","040102" ,"0102","02","040102","0102","02","040102","0102","02","040102","0102","02" ),10,3,byrow=T) dat = cbind(as.character(1:10), dat) colnames(dat) = c("phrase","species","genus","family") The line, tax = as.taxo(data.frame(dat)) works fine, though doesnt do much. The line, tax.phy <- taxo2phylog(tax,add.tools=TRUE) Generates the following error: Error in eigen(w, sym = TRUE) : infinite or missing values in 'x' Can anyone explain this, or tell me how to format the data in order to produce the taxonomy? I'm not sure where eigen()is being called, how I can get it to ignore this error, and I doubt that I need the results for my purposes anyway. Thanks and best regards, -Mitchell Ohriner Winchester, VA USA [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.