Print a panel composition summary from appended classification columns
Source:R/panel-describe.R
panel_summary.RdProduces a year-by-type count table from a data frame that already has
panel_* columns appended by panel_composition(append_classification = TRUE). Useful for quickly re-checking composition after imputation or
other panel manipulations without re-running the full classification.
Value
A data frame with one row per panel year and one column per
panel type, invisibly. Same structure as the summary table returned
by panel_composition().
Examples
if (FALSE) { # \dontrun{
d <- panel_composition(d, append_classification = TRUE)
d <- panel_impute(d)
panel_summary(d)
} # }