[R] How I count the all possible samples??

From: muhammad faisal <mfaisal_16_at_yahoo.com>
Date: Tue, 08 Jul 2008 10:23:26 -0700 (PDT)

Dear Members,

I am facing a problem during counting a sample. I have 4 characters i.e. A,C,G,T of DNA sequence and code this sequence by 1,2,3,4 respectively.

 [1] "41" "12" "22" "23" "32" "22" "23" "32" "22" "21" "12" "22" "23" "31" "12"
 [16] "21" "11" "11" "14" "43" "32" "22" "23" "34" "41" "13" "33" "32" "21" "12"
 [31] "22" "24" "44" "42" "21" "12" "23" "31" "12" "23" "33" "32" "22" "22" "21"
 [46] "13" "31" "11" "12" "22" "21" "14" "43" "33" "32" "23" "34" "43" "32" "23"
 [61] "33" "34" "41" "13" "34" "44" "42" "23" "33" "32" "24" "44" "44" "43" "33"
 [76] "31" "14" "43" "32" "22" "22" "21" "12" "22" "21" "13" "32" "23" "33" "32"
 [91] "21" "12" "23" "34" "43" "32" "21" "12" "21" "11"

and i want to count all possible sample i.e.  11,12,13,14,21,22,23,24,31,32,33,34,41,42,43,44

from the above sequence??

How i can calculate please help me????
I would be very thank full to you.

Regards,

++++++++++++++++++++++++++++++++++++++++++++++
MUHAMMAD FAISAL  Department of Statistics and Decion Support system, 
University of Vienna,Austria      Res. # +4314796696104 
Cell # +436503605156
Office # +431427738662
+++++++++++++++++++++++++++++++++++++++++++++++



      
	[[alternative HTML version deleted]]


______________________________________________

R-help_at_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. Received on Tue 08 Jul 2008 - 17:28:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jul 2008 - 18:31:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive