is_panel: Check if object is panel_data

Description Usage Arguments Examples

View source: R/panel_data.R

Description

This is a convenience function that checks whether an object is a panel_data object.

Usage

1

Arguments

x

Any object.

Examples

1
2
3
4
 data("WageData")
 is_panel(WageData) # FALSE
 wages <- panel_data(WageData, id = id, wave = t)
 is_panel(wages) # TRUE

panelr documentation built on Jan. 18, 2021, 5:06 p.m.