is_panel: Check if object is panel_data

View source: R/panel_data.R

is_panelR Documentation

Check if object is panel_data

Description

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

Usage

is_panel(x)

Arguments

x

Any object.

Examples

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

panelr documentation built on Aug. 22, 2023, 5:08 p.m.