Created
October 27, 2011 17:13
-
-
Save Shreyes2010/1320173 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
## Set the working directory using setwd() ## | |
# Reading the relevant file. | |
infy <- read.csv("01-10-2010-TO-01-10-2011INFYEQN.csv") | |
# Plotting the past one years closing price of INFY | |
plot(as.Date(infy$Date, "%d-%b-%y"), infy$Close.Price, xlab= "Dates", ylab= "Adjusted closing price", type='l', col='red', main="Adjusted closing price of INFOSYS for past 1 year") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment