Unit 13 Flashcards

(2 cards)

1
Q

Create a 2x2 contingency table

A

dataset %>%
tabyl(dependentvariable, independentvariable)

tclovers %>%
tabyl(Frequency_di, Agegroups)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Create a 2x2 contingency table,
but add the %

A

dataset %>%
tabyl(depvariable, indepvariable) %>%
adorn_title(“combined”) %>%
adorn_totals(“col”) %>%
adorn_totals(“row”) %>%
adorn_percentages(“col”) %>%
adorn_pct_formatting(digits = 1) %>%
adorn_ns()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly