dyad_agrmt: Compute dyadic agreement from dataframe.

View source: R/compute-agreement.R

dyad_agrmtR Documentation

Compute dyadic agreement from dataframe.

Description

If vote was not held, assumes status quo. (i.e. doesn't drop)

Usage

dyad_agrmt(
  tbl,
  chamber,
  agrmt_name = "agrmt",
  svy_var = "response",
  policy_var = "vote"
)

Arguments

tbl

dataframe

chamber

One of "H", "S", "Policy"

agrmt_name

The name for thew new variable in character

svy_var

The opinion variable to look at

policy_var

The vote variable to look at


kuriwaki/rcces documentation built on Sept. 12, 2023, 5:31 p.m.