summary.panel_data: Summarize panel data frames

View source: R/panel_methods.R

summary.panel_dataR Documentation

Summarize panel data frames

Description

summary method for panel_data objects.

Usage

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

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.

skim_with

A closure from skimr::skim_with(). If set, skim

Examples


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


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