I am new to R. I have a data set like this (given below is a fictional
dataset):

AgeCat FINWT
1 98
2 62
1 75
3 39
4 28
2 47
2 66
4 83
1 19
3 50

I need to calculate the weighted distribution of the variable AgeCat.

In SAS i can do:

proc freq data=ageval;
   tables agecat;
weight finwt;
run;

What or is there an equivalent in R?

TIA,
Krishnan

-- 
Krishnan Viswanathan
1101 High Meadow Dr
Tallahassee FL 32311

	[[alternative HTML version deleted]]

