View source: R/compute-agreement.R
code_threeway | R Documentation |
simpler version of dyad agreement, intended for long form where office is set
code_threeway(data, var1, var2)
data |
dataset |
var1 |
first variable of Y, N, DK, or D,R |
df <- tibble(pid_self = c("D", "R", "I", "D"),
pid_actl = c("R", "R", "R", "D"),
issue_self = c("Y", "N", "DK", "N"),
issue_actl = c("N", "N", "N", "Y"))
code_threeway(df, pid_self, pid_actl)
code_threeway(df, issue_self, issue_actl)
code_threeway()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.