summary method for panel_data objects.

# S3 method for 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

data("WageData") wages <- panel_data(WageData, id = id, wave = t) summary(wages, lwage, exp, wks)
#> Loading required namespace: skimr
#> -- Variable type: numeric ------------------------------------------------------ #>