FIND DATA: By Author | Journal Archives | Sites   ANALYZE DATA: Help with R | Stata | Excel   WHAT'S NEW? US Politics | Int'l Relations | Law & Courts
   FIND DATA: By Author | Journal | Sites   WHAT'S NEW? US Politics | IR | Law & Courts
Copy HTML to Run R Code Example
About This Page
This page displays HTML code you can use to embed a live demonstration of the R Statistics Program for political science research. These live online examples are easy to use and are great for teaching online classes.
Copy HTML Code for "Controlled Cross Tabulation of Divorce Law Opinions" Demo
See This R Demo | See More R Demos
Copy HTML Code for "Controlled Cross Tabulation of Divorce Law Opinions" Demo
See This R Demo | See More R Demos
Copy HTML Code for "Controlled Cross Tabulation of Divorce Law Opinions" Demo
See This R Demo | See More R Demos
<!-- The Start of controlledCrossTabDivorce.txt R Demo Code -->
<!-- Copy and paste this snippet into your web page  -->
<!-- Modify border, width, and height attributes of the iframe as necessary -->

<iframe border=0 width=100% height=1200 src="https://rdrr.io/snippets/embed/?code=%23+Chapter+5%3A+Making+Controlled+Comparisons%0Alibrary%28poliscidata%29++%23+Loads+R+companion+package+in+session%0A%0A%23+CROSS-TABULATION+ANALYSIS+WITH+A+CONTROL+VARIABLE%0A%0A%23+Starting+point%2C+cross-tabulation+without+control+variable%0A%23+This+xtp+command+will+generate+a+mosiac+plot%0Acat%28%22Basic+Cross-Tabulation%3A%5Cn%22%29%0Axtp%28gss%2C+divlaw2%2C+attend3%2C+wtss%29%0A%0A%23+Now+we+introduce+control+variable%3A+kids%0Acat%28%22%5Cn%5CnCross-Tabulation+with+Control+Variable%3A%5Cn%22%29%0AxtabC+%28%7Edivlaw2+%2B+attend3+%2B+kids%2C+gssD%29%0A"></iframe>

<!-- End of controlledCrossTabDivorce.txt R Demo Code -->