ramakanth reddy
2012-May-31 14:36 UTC
[R] counting the data in different groups for each row
Dear R, I have data like this I I D I D D D D D I D I D I D I D I D D D I D D I I I I I I I I D I D I D I I I D I I I D I D I D I D I 0 0 I I I I I I I I I D I D I D I D I I I D I I I D I D I D I D I I I D I I I I I Now for each row i want to make count in groups 2 in each group for all possible groups like for each row count of All I I in 1 group then all D I and D D in another group result should be count of each group in there respective rows Regards GRR [[alternative HTML version deleted]]
Reasonably Related Threads
- problem with installing rms package
- Counting number of common elements between the rows of two different matrices
- RE : Re: number of count of each unique row
- Counting by rows based on multiple criteria
- R version 3.3.2, Windows 10: Applying a function to each possible pair of rows from two different data-frames