Editing Statistics and Statistical Programming (Fall 2020)/pset1
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
=== PC1. Access and describe a dataset provided in an R library === | === PC1. Access and describe a dataset provided in an R library === | ||
# Load the <code>openintro</code> R package and the <code> | # Load the <code>openintro</code> R package and the <code>counties</code> dataset so that they are available to you. Let's get to know this data! You may already be familiar with it from Chapter 1 of the ''OpenIntro'' textbook and a codebook is available [https://www.openintro.org/data/index.php?data=county on the openintro website]. | ||
# Find out the class of the <code> | # Find out the class of the <code>counties</code> dataset object. | ||
# Find out how many rows and how many columns are in the <code> | # Find out how many rows and how many columns are in the <code>counties</code> dataset. | ||
# Find the names of all of the variables (columns) as well as the class of each of | # Find the names of all of the variables (columns) as well as the class of each of them. | ||
# Summarize at least one continuous or discrete numeric variable in the dataset. Calculate the length, range (minimum and maximum), mean, and standard deviation. | # Summarize at least one continuous or discrete numeric variable in the dataset. Calculate the length, range (minimum and maximum), mean, and standard deviation. | ||
# Plot a visual summary (maybe a boxplot or a histogram?) for the same numeric variable you used in PC1.4 above. | # Plot a visual summary (maybe a boxplot or a histogram?) for the same numeric variable you used in PC1.4 above. |