Skip to contents

Compatibility wrapper around panel990::panel_smooth(). Fiscal retains the PZ, PC, and ALL field shortcuts.

Usage

panel_smooth(
  df,
  vars = "PZ",
  window = 3,
  time = "TAX_YEAR",
  id = "EIN2",
  weights = "equal",
  verbose = TRUE,
  engine = "memory"
)

Arguments

df

Panel data frame.

vars

"PZ", "PC", "ALL", or numeric field names.

window

Odd rolling-window width.

time

Panel-time column.

id

Panel-ID column.

weights

Weighting mode.

verbose

Print progress.

engine

Must currently be "memory".

Value

Smoothed panel data.