Fix R ggplot error, closes #2237

This commit is contained in:
Divay Prakash 2018-11-02 14:47:22 +05:30
parent 4eddf0c696
commit 3dcb56bc22

View File

@ -789,7 +789,7 @@ install.packages("ggplot2")
require(ggplot2) require(ggplot2)
?ggplot2 ?ggplot2
pp <- ggplot(students, aes(x=house)) pp <- ggplot(students, aes(x=house))
pp + geom_histogram() pp + geom_bar()
ll <- as.data.table(list1) ll <- as.data.table(list1)
pp <- ggplot(ll, aes(x=time,price)) pp <- ggplot(ll, aes(x=time,price))
pp + geom_point() pp + geom_point()