Hi, the second step in my exercice is to calculate the sum of the amout for each class et not the frequency
i have this vector x y 1 100 2 1500 3 3250 4 6250 5 2000 6 450 i want to use the function table and cat to calculate the sum of the amount in each class [0-1000], [1000-3000],[> 3000] Thank you for your help?? inchallah [[alternative HTML version deleted]]
______________________________________________ R-help@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.