2.6 Plots of One Numeric Variable and One Categorial Variable
Sometimes we want to look at levels of a numeric variable within each category of a categorical variable. These types of plots are called “plots of means” in R Commander and “error bar plots” in SPSS.
2.6.1 Plots of Means in R Commander
Watch the following video and follow along in your own R Commander window. If you would like to see a transcript of this video, you can do so here.
Note: This video uses the States
dataset from the carData
package. If you need to review how to load the dataset into R Commander, review the video on R Commander basics. The section on how to import data begins at 3:32.
2.6.2 Error Bar Plots in SPSS
Watch the following video and follow along in your own SPSS window. If you would like to see a transcript of this video, you can do so here.
Note: This video uses the States dataset, which can be downloaded here. If you need to review how to load the dataset into SPSS, review the video on SPSS basics. The section on how to import data begins at 0:48.