Hello,

Like this your data example is unusable, how can we reproduce it?
Please use dput() to post data. Example:

# Make up some data.
x <- data.frame(A = letters[1:5], X = 1:5)

# Paste the output of this in a post
dput(x)
structure(list(A = structure(1:5, .Label = c("a", "b", "c", "d",
"e"), class = "factor"), X = 1:5), .Names = c("A", "X"), row.names = c(NA,
-5L), class = "data.frame")

Rui Barradas

Em 24-09-2012 12:20, benrgillespie escreveu:
Hi guys,

It would be great if you could help me with this one...

I'm looking to create a script to convert a matrix of species abundance e.g:

<http://r.789695.n4.nabble.com/file/n4643978/species_matrix.jpg>

into two vectors e.g:

<http://r.789695.n4.nabble.com/file/n4643978/communitylist.jpg>

----------------

If you feel there is no easy answer to this and that it would be easier to
do in excel or open office calc (or another program), please let me know.

Thanks in advance for your help and let me know if you require any further
information,

Ben Gillespie (Research Postgrad)





--
View this message in context: 
http://r.789695.n4.nabble.com/List-creation-based-on-matrix-tp4643978.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

______________________________________________
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.

Reply via email to