Displaying 1 result from an estimated 1 matches for "intabuniqu".
Did you mean:
intabunique
2005 Jan 04
4
Re : Frequency count
Dear list,
I have a dataset as follow and I would like to count the frequencies for
the combination of the two variables (f1 and f2) for each id. I know it is
should be straight forward, but I just don't know how to do it in R. Here
is the SAS code I will use to get the output I want :
proc means nway;
class id f1 f2;
var flag
output out=temp;
Dataset:
id f1 f2 flag
798 1 2