summary.PanelData | R Documentation |
Summarize information about variable names, and unit, time, and treatment data in a PanelData object
## S3 method for class 'PanelData'
summary(object, ...)
object |
|
... |
Not used |
Returns a data.frame
object, with columns "quantity" and "value." Within the data frame the following information is returned: The name of the unit id variable, the name of the time id variable, the name of the treatment variable, the name of the outcome variable, the number of unique units found in the data, the number of unique time periods found in the data and the percentage of treated periods that are missing treatment data.
d <- PanelData(dem, "wbcode2", "year", "dem", "y")
summary(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.