[R] Vegan dataframe not acting nicely

stephen sefick ssefick at gmail.com
Fri Apr 11 02:59:38 CEST 2008


This is what my data looks like

                                DOC  TOC  TKN
RM119mFeb-06  1         2        3
RM61mFeb-06     2        4        6

I have this both in a .csv and .txt  I have read this in with

read.csv("chemodr.csv", header=T)

and this is what I get

              X dAmon   DN.N Nitrite.N  DOC    OP       P   TKN  TOC
1   RM215mFeb-06 0.000 0.1300    0.0000  2.5 0.057  0.0420 0.420  2.2
2      SCmFeb-06 0.000 0.1200    0.0000 13.0 0.130  0.0960 0.950 12.0
3   RM202mFeb-06 0.000 0.1300    0.0000  4.6 0.035  0.0760 0.610  4.3
4   RM198mFeb-06 0.000 0.1300    0.0044  5.4 0.032  0.0330 0.910  5.0
5      HCmFeb-06 0.000 0.2800    0.0000  3.0 0.016  0.0220 0.800  3.1
6   RM190mFeb-06 0.000 0.1600    0.0130  3.3 0.068  0.0480 0.780  3.4

I can not do any ordination analysis because of the X column which is
the Site column of my data set.  How do I get this read in with dAmon
... TOC as the "species" and the X column as the "site" column. I am
sure that I am missing something simple.
thanks

Stephen

-- 
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

	-K. Mullis



More information about the R-help mailing list