I cannot understand your data. I suspect that is related to the fact that you have posted (yet again) to the list using HTML email. Please try again using plain text email and use the dput command to insure that we can put your data into R as you have it. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
On March 11, 2014 3:15:27 AM PDT, catalin roibu <catalinro...@gmail.com> wrote: >Hello again, > >I have a problem with R. How can I do this summarize the proportion >(PRP) >of unique species (ELM )for each ua. >My data is like this: > >uaELMPRP122CMO5122CBR3122CFA1122CMO1122DBR7122DMO2122DBR1 > >and I want to obtain something like this: > >uaELMPRP122CMO6122CBR3122CFA1122DBR8122DMO2 > >Thank you very much! ______________________________________________ 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.