manifesto_country_positions: Manifesto positions aggregated at the country level

View source: R/position.R

manifesto_country_positionsR Documentation

Manifesto positions aggregated at the country level

Description

Manifesto positions aggregated at the country level

Usage

manifesto_country_positions(
  x,
  L_vars,
  R_vars,
  N_vars = c("total"),
  country_seats,
  weighted = TRUE,
  method = "lowe",
  na.rm = TRUE
)

Arguments

x

a dataframe containing the values manifesto variables L and R

country_seats

a dataframe specifying a country_id variable for each value in x as well as a 'seats' variable

L

a vector of variable names in x representing the L pole

R

a vector of variable names in x representing the R pole

N

a string containing a variable name in x representing N (total number of coded sentences)


ghxm/comPosition documentation built on Jan. 29, 2024, 6:57 p.m.