Last active
April 29, 2022 19:27
-
-
Save seankross/6356959 to your computer and use it in GitHub Desktop.
Making a histogram in R
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
# Assuming you have a file called Workbook2.csv on your desktop | |
Workbook2 <- read.table("~/Desktop/Workbook2.csv", quote="\"") | |
colors = c("red", "yellow", "green", "violet", "orange") | |
hist(Workbook2$V1, main = "Title", xlab = "X-axis", ylab = "Y-axis", col = colors) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have to make a histogram with two objects. I know how do to it for one, but how do I get them to communicate? I'm not trying to create two histograms in one graph, mind you