Last active
August 18, 2021 22:23
-
-
Save malcolmbarrett/2c0a1b96b8ca9381a8c1ab5c602e63cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prepare a question about this code and post it on the RStudio Community thread listed in the assignment. | |
# 1. Ask a clear question about the code in English. Tell us what you expect and what is happening. | |
# 2. Use the reprex package to create an example in R. | |
# Your reprex should be something that I can copy and paste on my machine and run right away. | |
# Do NOT just share a screenshot of your RStudio session. | |
# Consider these questions while preparing your reprex: | |
# What do we expect this code to do, and what is happening? | |
# Are the data accesible? Do we need to use the diabetes dataset, or will a built-in dataset do? | |
# Is every part of this code necessary to show the problem? | |
# Is there anything else missing? | |
diabetes <- read.csv("https://raw.githubusercontent.com/malcolmbarrett/au-stats412-612-01-reading_data/master/diabetes.csv") | |
just_height <- diabetes[, "height"] | |
ggplot(just_height, aes(x = height)) + | |
geom_histogram() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment