search for: myfreq

Displaying 2 results from an estimated 2 matches for "myfreq".

Did you mean: yfreq
2009 Sep 29
1
Create column of frequency
Dear all, Given mypi mypi <- c(0.1,0.2,0.2,0.1,0.3,0.4,0.4,0.4,0.4,0.2) I want to create myfreq as follows mypi myfreq 0.1 2 0.2 3 0.2 3 0.1 2 0.3 1 0.4 4 0.4 4 0.4 4 0.4 4 0.2 3 where myfreq is frequency of its corresponding observation. How to do that? Thank you, Regards, A. Kudus Institute for Math Research Univ Putra Malaysia [[alternative HTML version deleted]]
2009 Nov 01
3
counting frequencies across two columns
I've got a data frame describing comments on an electronic journal, wherein each row is a unique comment, like so: commentID author articleID 1 1 smith 2 2 2 jones 3 3 3 andrews 2 4 4 jones 1 5 5 johnson 3 6 6 smith 2 I want know the number of unique authors per article. I can get a