pad_election: Function to pad electoral data

View source: R/pad_election.R

pad_electionR Documentation

Function to pad electoral data

Description

Function to pad electoral data

Usage

pad_election(data, time, group, start, end)

Arguments

data

A data frame with electoral data

time

A vector of time data delimited by year (enclosed in "")

group

A vector of country identifiers used to group data (enclosed in "")

start

Numeric value for first year of time-series

end

Numeric value for last year of time-series


dsself/electionpanel documentation built on Jan. 4, 2024, 4:58 p.m.