Description Usage Arguments Value Author(s) References See Also Examples
Prints the information produced by the function whatif
,
an object of class "whatif", to the screen.
1 2 | ## S3 method for class 'whatif'
print(x, print.dist = FALSE, print.freq = FALSE, ...)
|
x |
An object of class "whatif", the output of
the function |
print.dist |
A Boolean; should the matrix of pairwise
distances between each counterfactual and data point be printed to
the screen, if it was returned? Default is |
print.freq |
A Boolean; should the matrix of cumulative
frequencies of distances for each counterfactual be printed
to the screen? Default is |
... |
Further arguments passed to and from other methods. |
A printout to the screen of the information contained in the
whatif
output object.
Stoll, Heather hstoll@polsci.ucsb.edu, King, Gary king@harvard.edu and Zeng, Langche zeng@ucsd.edu
King, Gary and Langche Zeng. 2006. "The Dangers of Extreme Counterfactuals." Political Analysis 14 (2). Available from https://gking.harvard.edu.
King, Gary and Langche Zeng. 2007. "When Can History Be Our Guide? The Pitfalls of Counterfactual Inference." International Studies Quarterly 51 (March). Available from https://gking.harvard.edu.
whatif
,
plot.whatif
,
summary.whatif
,
print.summary.whatif
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.