- Calculation of absolute frequencies
table(x)
- Calculation of relative frequencies
prop.table(table(x))
- marginal frequncies
addmargins(x)
- classification can be done with the functions cut() and seq(). cut() creats the groups, seq() creats the boarders, from which to which the Groups should be made
Back to Table of Contents
LS0tDQp0aXRsZTogIkZyZXF1ZW5jaWVzIg0Kb3V0cHV0OiBodG1sX25vdGVib29rDQotLS0NCg0KLSBDYWxjdWxhdGlvbiBvZiBhYnNvbHV0ZSBmcmVxdWVuY2llcyA8YnI+IGB0YWJsZSh4KWANCi0gQ2FsY3VsYXRpb24gb2YgcmVsYXRpdmUgZnJlcXVlbmNpZXMgPGJyPmBwcm9wLnRhYmxlKHRhYmxlKHgpKWANCi0gbWFyZ2luYWwgZnJlcXVuY2llcyA8YnI+YGFkZG1hcmdpbnMoeClgDQotIGNsYXNzaWZpY2F0aW9uIGNhbiBiZSBkb25lIHdpdGggdGhlIGZ1bmN0aW9ucyBjdXQoKSBhbmQgc2VxKCkuIGN1dCgpIGNyZWF0cyB0aGUgZ3JvdXBzLCBzZXEoKSBjcmVhdHMgdGhlIGJvYXJkZXJzLCBmcm9tIHdoaWNoIHRvIHdoaWNoIHRoZSBHcm91cHMgc2hvdWxkIGJlIG1hZGUNCg0KLS0tDQpbQmFjayB0byBUYWJsZSBvZiBDb250ZW50c10oLi4vKQ==