summary.panel_data: Summarize panel data frames

Description Usage Arguments Examples

View source: R/panel_methods.R

Description

summary method for panel_data objects.

Usage

1
2
## S3 method for class 'panel_data'
summary(object, ..., by.wave = TRUE, by.id = FALSE)

Arguments

object

A panel_data frame.

...

Optionally, unquoted variable names/expressions separated by commas to be passed to dplyr::select(). Otherwise, all columns are included.

by.wave

(if skimr is installed) Separate descriptives by wave? Default is TRUE.

by.id

(if skimr is installed) Separate descriptives by entity? Default is FALSE. Be careful if you have a large number of entities as the output will be massive.

Examples

1
2
3
data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
summary(wages, lwage, exp, wks)

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