Thank you guys I learnt a lot .
But when I tried to run the library(ecodist) function, R says there is no package called "ecodist". why? ______________________________________ View message @ http://r.789695.n4.nabble.com/from-table-to-matrix-tp3087972p3088184.html To unsubscribe from from table to matrix, visit http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3087972&code=ci1oZWxwQHItcHJvamVjdC5vcmd8MzA4Nzk3MnwtNzg0MjM1NTA4 [[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.