Skip to content
Prev 371478 / 398506 Next

List of occuring values

Note that this data.frame(table(...)) makes a column for each argument to
table(...), plus a column for the frequencies so you can easily deal with
multiway tabulations.
+     sizes = c("Small", "Large", "Large", "Large"),
+     colors = c("Red", "Blue", "Blue", "Red"),
+     condition = c("Good", "Poor", "Poor", "Poor"))
sizes colors condition Freq
1 Large   Blue      Good    0
2 Small   Blue      Good    0
3 Large    Red      Good    0
4 Small    Red      Good    1
5 Large   Blue      Poor    2
6 Small   Blue      Poor    0
7 Large    Red      Poor    1
8 Small    Red      Poor    0
sizes colors condition Freq
4 Small    Red      Good    1
5 Large   Blue      Poor    2
7 Large    Red      Poor    1


Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Sep 21, 2017 at 7:38 AM, William Dunlap <wdunlap at tibco.com> wrote: