5
I’m trying to make the Frequency distribution table in R, however, I am not succeeding due to some formulas and calculations that I cannot implement in R.
The structure of the frequency distribution table is as follows:
-------------------------------------
|Dados | Xi | Fi | Fr | Fac | Xi.Fi |
| | | | | | |
| | | | | | |
-------------------------------------
I don’t know how to calculate the values of Xi
, Fi
, Fr
, Fac
, Xi.Fi
and I didn’t understand very well what they represent in this table.
There are also other calculations that must be done which is Amplitude, Quantity of Elements and Range size. In which I had the same difficulties to do too.
Dice
The ROLL that I’m using to make the frequency distribution table is this corresponding to the age of students:
The ROL values I use in R are:
18 19 19 19 19 19 19 19 19 19 19 19 20 20 22 23 24 26 26 30 32
Question
How can I make the Frequency Distribution Table of these data above in R?