Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have this activity that I have to do using the R program. I have done the work

ID: 3685244 • Letter: I

Question

I have this activity that I have to do using the R program. I have done the work to graph the histogram by histo(a) and of course stuff before that but my instructor wants us to: Find the proportion of 1's, 2's and so on until 9's. I'm not sure how to program to do that. I would appreciate your help please. I have this activity that I have to do using the R program. I have done the work to graph the histogram by histo(a) and of course stuff before that but my instructor wants us to: Find the proportion of 1's, 2's and so on until 9's. I'm not sure how to program to do that. I would appreciate your help please.

Explanation / Answer

you can use ddply() function from library plyr to calculate the proportions of a combination