Regular text:
library(ggplot2)
mydata <- read.csv("test.csv", stringsAsFactors=FALSE)
ggplot(data = mydata,
aes(x = Year, y = Title)) +
geom_line()
## geom_path: Each group consist of only one observation. Do you need to adjust the group aesthetic?
ggplot(data= mydata,
aes(x=Type))+ geom_bar()
ggplot(data= mydata,
aes(x=Format))+ geom_bar()
ggplot(data= sarna,
aes(x=year, y= estimate.high))+ geom_line()
ggplot(data= sarna,
aes(x=year, y= estimate.high))+ geom_bar(stat="identity")
yes
ggplot(data = mydata,
aes(x = Year, y = Format)) +
geom_line()
ggplot(data = mydata,
aes(x = Origin, y = Title)) +
geom_line()
## geom_path: Each group consist of only one observation. Do you need to adjust the group aesthetic?
# ggplot(data=mydata, aes(x=Year, y=Title, fill=time)) + geom_bar(colour="black", stat="identity")
# Add title, narrower bars, gray fill, and change axis labels
ggplot(data=mydata, aes(x=Title, y=Year, fill=Title)) +
geom_bar(colour="black", fill="#DD8888", width=.7, stat="identity") +
guides(fill=FALSE) +
xlab("Title of Game") + ylab("Year of Release") +
ggtitle("Video Game Releases")
ggplot(data=mydata, aes(x=Title, y=Year)) +
geom_bar(colour="black", fill="#DD8888", width=.7, stat="identity") +
guides(fill=FALSE) +
xlab("Title of Game") + ylab("Year of Release") +
ggtitle("Video Game Releases")
ggplot(data=mydata, aes(x=Title, y=Year, group=Type)) + geom_line() + geom_point()
ggplot(data = mydata, aes(x = Year)) + geom_bar()
## stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.
## Warning: position_stack requires constant width: output may be incorrect
ggplot(data = mydata, aes(x = Year)) + geom_bar()
## stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.
## Warning: position_stack requires constant width: output may be incorrect
ggplot(data = mydata,
aes(x = Year, y = Format, color = Title)) +
geom_line()
## geom_path: Each group consist of only one observation. Do you need to adjust the group aesthetic?
More regular text.