MENU ☰
Home Page
Find Data by Subfield ►
African Politics
American Politics
Asian Politics
Comparative Politics
European Politics
International Relations
Latin American Politics
Law Courts & Justice
Methodology
Migration & Citizenship
Political Behavior
Teaching & Learning
Voting & Elections
Find Data by Source ►
Topical Collections
By Author
Journal Archives
Teach Data Analysis ►
Teaching Resources
Teaching Assistant
Live R Demos
Sample Syllabi
Excel Tutorials ►
☑ Getting Started with Excel
1: Excel for Data Analysis
2: Descriptive Statistics
3: Transforming Variables
4: Making Comparisons
5: Graphing Relationships
6: Random Assignment & Sampling
7: Controlled Comparisons
8: Foundations of Inference
9: Hypothesis Tests with One or Two Samples
10: ChiSquare & ANOVA
11: Correlation & Bivariate Regression
12: Multiple Regression
13: Regression Residuals
14: Logistic Regression
15: Doing Your Own Analysis
∞ Advanced Topics
R Demos & Resources ►
☑ Getting Started with R
1: Using R for Data Analysis
2: Descriptive Statistics
3: Transforming Variables
4: Making Comparisons
5: Graphing Relationships
6: Random Assignment & Sampling
7: Controlled Comparisons
8: Foundations of Inference
9: Hypothesis Tests with One or Two Samples
10: ChiSquare & ANOVA
11: Correlation & Bivariate Regression
12: Multiple Regression
13: Regression Residuals
14: Logistic Regression
15: Doing Your Own Analysis
∞ Advanced Topics
Analyze Data ►
Grade Level of Text
Surname Census Info
Calculate Federal Judge Ideal Points
Crosstabs with Circuit Court Data
Election Simulation
Share Findings ►
Blogs
PeerReviewed Journals
Podcasts
Join Facebook Group
Legal Research
It's Better with Music
About ►
This Web Site
Barry C. Edwards
R Tutorials & Resources:
Chapter 3: Creating and Transforming Variables
Suggest a Link
Alphabetize Page
PrinterFriendly List
Watch and Learn
Watch and Learn
Watch and Learn
Watch and Learn
Creating an Indicator Variable Demo.
Create a dummy variable that identifies veterans.
Help & Resources

Ch. 3
Collapsing Variable into Roughly EqualSized Groups Demo.
Create an ordinal level variable with equalsize groups from intervallevel variable.
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Transformations (Logarithms, Scaling, Standardizing)
From Adam Petrie (10:08)
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Collapsing Variable into Substantively Useful Categories Demo.
Create an ordinal level variable by transforming intervallevel variable.
Help & Resources

Ch. 3
Working with Categorical Variables and Factors
Shows how to work with levels function, from Adam Petrie (29:04)
Help & Resources

Ch. 3
Centering & Standardizing Variables
From David Caughlin (15:40)
Help & Resources

Ch. 3
Creating an Additive Index Demo.
Transform multiple measures of abortion opinion into one measure of abortion opinion.
Help & Resources

Ch. 3
Changing Numeric Variable to Categorical
From Mike Marin (5:21)
Help & Resources

Ch. 3
Use ifelse() Function to Create Dummy Variables and Categorical Variables
From Data Science with Yan (10:18)
Help & Resources

Ch. 3
Creating an Indicator Variable Demo.
Create a dummy variable that identifies veterans.
Help & Resources

Ch. 3
Collapsing Variable into Roughly EqualSized Groups Demo.
Create an ordinal level variable with equalsize groups from intervallevel variable.
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Transformations (Logarithms, Scaling, Standardizing)
From Adam Petrie (10:08)
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Collapsing Variable into Substantively Useful Categories Demo.
Create an ordinal level variable by transforming intervallevel variable.
Help & Resources

Ch. 3
Working with Categorical Variables and Factors
Shows how to work with levels function, from Adam Petrie (29:04)
Help & Resources

Ch. 3
Centering & Standardizing Variables
From David Caughlin (15:40)
Help & Resources

Ch. 3
Creating an Additive Index Demo.
Transform multiple measures of abortion opinion into one measure of abortion opinion.
Help & Resources

Ch. 3
Changing Numeric Variable to Categorical
From Mike Marin (5:21)
Help & Resources

Ch. 3
Use ifelse() Function to Create Dummy Variables and Categorical Variables
From Data Science with Yan (10:18)
Help & Resources

Ch. 3
Creating an Indicator Variable Demo.
Create a dummy variable that identifies veterans.
Help & Resources

Ch. 3
Collapsing Variable into Roughly EqualSized Groups Demo.
Create an ordinal level variable with equalsize groups from intervallevel variable.
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Transformations (Logarithms, Scaling, Standardizing)
From Adam Petrie (10:08)
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Collapsing Variable into Substantively Useful Categories Demo.
Create an ordinal level variable by transforming intervallevel variable.
Help & Resources

Ch. 3
Working with Categorical Variables and Factors
Shows how to work with levels function, from Adam Petrie (29:04)
Help & Resources

Ch. 3
Centering & Standardizing Variables
From David Caughlin (15:40)
Help & Resources

Ch. 3
Creating an Additive Index Demo.
Transform multiple measures of abortion opinion into one measure of abortion opinion.
Help & Resources

Ch. 3
Changing Numeric Variable to Categorical
From Mike Marin (5:21)
Help & Resources

Ch. 3
Use ifelse() Function to Create Dummy Variables and Categorical Variables
From Data Science with Yan (10:18)
Help & Resources

Ch. 3
Creating an Indicator Variable Demo.
Create a dummy variable that identifies veterans.
Help & Resources

Ch. 3
Collapsing Variable into Roughly EqualSized Groups Demo.
Create an ordinal level variable with equalsize groups from intervallevel variable.
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Transformations (Logarithms, Scaling, Standardizing)
From Adam Petrie (10:08)
Help & Resources

Ch. 3
Dummy Variables or Indicator Variables
From Mike Marin (6:40)
Help & Resources

Ch. 3
Collapsing Variable into Substantively Useful Categories Demo.
Create an ordinal level variable by transforming intervallevel variable.
Help & Resources

Ch. 3
Working with Categorical Variables and Factors
Shows how to work with levels function, from Adam Petrie (29:04)
Help & Resources

Ch. 3
Centering & Standardizing Variables
From David Caughlin (15:40)
Help & Resources

Ch. 3
Creating an Additive Index Demo.
Transform multiple measures of abortion opinion into one measure of abortion opinion.
Help & Resources

Ch. 3
Changing Numeric Variable to Categorical
From Mike Marin (5:21)
Help & Resources

Ch. 3
Use ifelse() Function to Create Dummy Variables and Categorical Variables
From Data Science with Yan (10:18)
Help & Resources

Ch. 3
Additional Resources
Additional Resources
Additional Resources
Additional Resources
R Commander
A graphical user interface for the R program.
Help & Resources
QuickR
Helpful reference for using R.
Help & Resources
Rweb
A webbased interface to R
Help & Resources
R Bloggers
Many useful articles, frequently updated.
Help & Resources
Quantitative Research Methods for Political Science, Public Policy and Public Administration
Web site for book, based on R, by JenkinsSmith et al.
Help & Resources
Live R Code Demos
Sample uses of the R Statistics Program for political science research. From Barry Edwards, Political Science Data.
Help & Resources
Show Me Shiney
A gallery of interactive R web apps.
Help & Resources
Quantitative Politics with R
By Erik Gahner Larsen and Zoltán Fazekas
Help & Resources
Cookbook for R
Excellent reference book by Winston Chang
Help & Resources
Swirl Stats
Teaches you R programming and data science interactively, at your own pace, and right in the R console
Help & Resources
Dartistics: Digital Analytics with R and staTISTICS
A resource for digital analysts who are interested in learning or expanding their knowledge of R and statistics.
Help & Resources
Robust Regression with R Tutorial
Alastair Sanderson shows useful methods used to handle data with outliers.
Help & Resources
R Functions and Packages for Political Science Analysis
Great tutorials on useful functions and packages.
Help & Resources
R Short Reference Card
A cheatsheet type reference, very helpful.
Help & Resources
R Package Documentation
A comprehensive index of R packages and documentation, tools to run code online and embed samples.
Help & Resources
CRAN Task View: Teaching Statistics
Information about R packages that assist with the teaching of statistics.
Help & Resources
Data Analytics
From Mark Gardener, resources for data analysis and especially in the use of R
Help & Resources
Reproducible Data Treatment with R
Web course material from Colin Bousige
Help & Resources
R Graphics Cookbook
Online edition of Winston Chang's book
Help & Resources
R Documentation
Online help files.
Help & Resources
R Commander
A graphical user interface for the R program.
Help & Resources
QuickR
Helpful reference for using R.
Help & Resources
Rweb
A webbased interface to R
Help & Resources
R Bloggers
Many useful articles, frequently updated.
Help & Resources
Quantitative Research Methods for Political Science, Public Policy and Public Administration
Web site for book, based on R, by JenkinsSmith et al.
Help & Resources
Live R Code Demos
Sample uses of the R Statistics Program for political science research. From Barry Edwards, Political Science Data.
Help & Resources
Show Me Shiney
A gallery of interactive R web apps.
Help & Resources
Quantitative Politics with R
By Erik Gahner Larsen and Zoltán Fazekas
Help & Resources
Cookbook for R
Excellent reference book by Winston Chang
Help & Resources
Swirl Stats
Teaches you R programming and data science interactively, at your own pace, and right in the R console
Help & Resources
Dartistics: Digital Analytics with R and staTISTICS
A resource for digital analysts who are interested in learning or expanding their knowledge of R and statistics.
Help & Resources
Robust Regression with R Tutorial
Alastair Sanderson shows useful methods used to handle data with outliers.
Help & Resources
R Functions and Packages for Political Science Analysis
Great tutorials on useful functions and packages.
Help & Resources
R Short Reference Card
A cheatsheet type reference, very helpful.
Help & Resources
R Package Documentation
A comprehensive index of R packages and documentation, tools to run code online and embed samples.
Help & Resources
CRAN Task View: Teaching Statistics
Information about R packages that assist with the teaching of statistics.
Help & Resources
Data Analytics
From Mark Gardener, resources for data analysis and especially in the use of R
Help & Resources
Reproducible Data Treatment with R
Web course material from Colin Bousige
Help & Resources
R Graphics Cookbook
Online edition of Winston Chang's book
Help & Resources
R Documentation
Online help files.
Help & Resources
R Commander
A graphical user interface for the R program.
Help & Resources
QuickR
Helpful reference for using R.
Help & Resources
Rweb
A webbased interface to R
Help & Resources
R Bloggers
Many useful articles, frequently updated.
Help & Resources
Quantitative Research Methods for Political Science, Public Policy and Public Administration
Web site for book, based on R, by JenkinsSmith et al.
Help & Resources
Live R Code Demos
Sample uses of the R Statistics Program for political science research. From Barry Edwards, Political Science Data.
Help & Resources
Show Me Shiney
A gallery of interactive R web apps.
Help & Resources
Quantitative Politics with R
By Erik Gahner Larsen and Zoltán Fazekas
Help & Resources
Cookbook for R
Excellent reference book by Winston Chang
Help & Resources
Swirl Stats
Teaches you R programming and data science interactively, at your own pace, and right in the R console
Help & Resources
Dartistics: Digital Analytics with R and staTISTICS
A resource for digital analysts who are interested in learning or expanding their knowledge of R and statistics.
Help & Resources
Robust Regression with R Tutorial
Alastair Sanderson shows useful methods used to handle data with outliers.
Help & Resources
R Functions and Packages for Political Science Analysis
Great tutorials on useful functions and packages.
Help & Resources
R Short Reference Card
A cheatsheet type reference, very helpful.
Help & Resources
R Package Documentation
A comprehensive index of R packages and documentation, tools to run code online and embed samples.
Help & Resources
CRAN Task View: Teaching Statistics
Information about R packages that assist with the teaching of statistics.
Help & Resources
Data Analytics
From Mark Gardener, resources for data analysis and especially in the use of R
Help & Resources
Reproducible Data Treatment with R
Web course material from Colin Bousige
Help & Resources
R Graphics Cookbook
Online edition of Winston Chang's book
Help & Resources
R Documentation
Online help files.
Help & Resources
R Commander
A graphical user interface for the R program.
Help & Resources
QuickR
Helpful reference for using R.
Help & Resources
Rweb
A webbased interface to R
Help & Resources
R Bloggers
Many useful articles, frequently updated.
Help & Resources
Quantitative Research Methods for Political Science, Public Policy and Public Administration
Web site for book, based on R, by JenkinsSmith et al.
Help & Resources
Live R Code Demos
Sample uses of the R Statistics Program for political science research. From Barry Edwards, Political Science Data.
Help & Resources
Show Me Shiney
A gallery of interactive R web apps.
Help & Resources
Quantitative Politics with R
By Erik Gahner Larsen and Zoltán Fazekas
Help & Resources
Cookbook for R
Excellent reference book by Winston Chang
Help & Resources
Swirl Stats
Teaches you R programming and data science interactively, at your own pace, and right in the R console
Help & Resources
Dartistics: Digital Analytics with R and staTISTICS
A resource for digital analysts who are interested in learning or expanding their knowledge of R and statistics.
Help & Resources
Robust Regression with R Tutorial
Alastair Sanderson shows useful methods used to handle data with outliers.
Help & Resources
R Functions and Packages for Political Science Analysis
Great tutorials on useful functions and packages.
Help & Resources
R Short Reference Card
A cheatsheet type reference, very helpful.
Help & Resources
R Package Documentation
A comprehensive index of R packages and documentation, tools to run code online and embed samples.
Help & Resources
CRAN Task View: Teaching Statistics
Information about R packages that assist with the teaching of statistics.
Help & Resources
Data Analytics
From Mark Gardener, resources for data analysis and especially in the use of R
Help & Resources
Reproducible Data Treatment with R
Web course material from Colin Bousige
Help & Resources
R Graphics Cookbook
Online edition of Winston Chang's book
Help & Resources
R Documentation
Online help files.
Help & Resources
Latin Am. Politics
Voting & Elections
Asian Politics
American Politics
Migration & Citizenship
African Politics
Latin Am. Politics
Voting & Elections
Asian Politics
American Politics