Skip to content

Instantly share code, notes, and snippets.

@berkorbay
Created August 17, 2016 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berkorbay/4849c58eba6384cecfb7456d04d5d75d to your computer and use it in GitHub Desktop.
Save berkorbay/4849c58eba6384cecfb7456d04d5d75d to your computer and use it in GitHub Desktop.
#library(dplyr)
library(ggplot2)
#mydata<-read.table("~/Downloads/bcom.csv",sep=",",header=TRUE) %>% tbl_df
#md2<-mydata %>% mutate(Date=as.Date(as.character(Date),format="%b %d,%Y"))
#ggplot(md2,aes(x=Date,y=Price)) + geom_line()
###Data frame versiyonu
mydata<-read.table("~/Downloads/bcom.csv",sep=",",header=TRUE)
mydata$Date <- as.Date(as.character(mydata$Date),format="%b %d,%Y")
ggplot(mydata,aes(x=Date,y=Price)) + geom_line()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment