Categories
R

Prepare a question about this code and post it on the RStudio Community thread l

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()