balance_panel_data: Balance panel data.

Description Usage Arguments

View source: R/balance_panel_data.R

Description

This function takes a possibly unbalanced panel and returns a balanced panel over a given time period.

Usage

1
balance_panel_data(panel_data, n_periods, panel_unit)

Arguments

panel_data

The data to be balanced (data.table).

n_periods

The number of time periods in the dataset (numeric).

panel_unit

The name of the panel unit (character).


johnnybonney/sales.taxes documentation built on Dec. 7, 2018, 8:01 a.m.