View source: R/PanelMatchObject.R
print.PanelMatch | R Documentation |
Print PanelMatch objects.
## S3 method for class 'PanelMatch'
print(x, ..., verbose = FALSE, n = 5, show.all = FALSE)
x |
a |
... |
additional arguments to be passed to |
verbose |
logical indicating whether or not underlying data should be printed in expanded/raw list form. The verbose form is not recommended unless the data set is small. Default is FALSE |
n |
Integer. Number of matched sets to display information about as a preview. Default is 5. |
show.all |
Logical. By default ('show.all = FALSE'), the print method only shows a small preview of the sizes of matched sets. When set to TRUE, a full summary description of matched set sizes is shown. |
dem.sub <- dem[dem[, "wbcode2"] <= 100, ]
dem.sub.panel <- PanelData(dem, 'wbcode2', 'year', 'dem', 'y')
PM.results <- PanelMatch(panel.data = dem.sub.panel,
lag = 4,
refinement.method = "mahalanobis",
match.missing = TRUE,
covs.formula = ~ I(lag(tradewb, 1:4)) + I(lag(y, 1:4)),
size.match = 5, qoi = "att",
lead = 0:4, forbid.treatment.reversal = FALSE)
print(PM.results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.