Posted on 2008-06-12 12:09:08-07 by vegvarizs
Looping with subset
Dear all, do you have any idea how can I use subsets in looping? The first column of my dataset includes species names with all of them occuring more than once. I would like to perform analyses for each species separately. I can do the subsetting, but I do not know how to refer to the separate values of the species name variable during the looping (in a for cycle). Maybe a simple question, I am quite new for R. Many thanks! Regards Zsolt
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.