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 "Descriptive Statistics for Ordinal-Level Variable" Demo
See This R Demo | See More R Demos
Copy HTML Code for "Descriptive Statistics for Ordinal-Level Variable" Demo
See This R Demo | See More R Demos
Copy HTML Code for "Descriptive Statistics for Ordinal-Level Variable" Demo
See This R Demo | See More R Demos
<!-- The Start of descriptiveOrdinalVariable.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+Descriptive+Statistics+for+Ordinal-Level+Variable%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0Alibrary%28%22poliscidata%22%29%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%0A%23+The+values+of+ordinal-level+variables+can+be+compared%3B+there+is+an+order+to+them.%0A%23+The+immigpo_level+variable+in+the+NES+dataset+is+an+example+of+a+ordinal-level+variable.%0A%23+There+are+more+tools+for+description+than+we+have+for+nominal-level+variables.%0A%0Acat%28%22Frequency+Distribution+Table%3A%5Cn%22%29%0AfreqC%28nes%24immigpo_level%2C+nes%24wt%29%0A%0Acat%28%22%5CnMode%3A%5Cn%22%29%0Awtd.mode%28nes%24immigpo_level%2C+nes%24wt%29%0A%0Acat%28%22%5CnMedian%3A%5Cn%22%29%0Awtd.median%28nes%24immigpo_level%2C+nes%24wt%29%0A"></iframe>

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