1
0

adding proportions table (and hopefully nothing else)

This commit is contained in:
aaronshaw
2020-10-27 21:33:05 -05:00
parent 548d95f43d
commit fee4a69906
2 changed files with 9 additions and 1 deletions

View File

@@ -70,6 +70,8 @@ summary(df)
obama.tbl <- table(took_fruit=df$fruit, saw_flotus=df$obama)
obama.tbl
obama.prop.tbl <- proportions(table(took_fruit=df$fruit, saw_flotus=df$obama), margin=2)
obama.prop.tbl
```
## PC4. Test for differences between groups