summaryrefslogtreecommitdiffhomepage
path: root/r.html.markdown
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash3@gmail.com>2018-11-02 14:47:22 +0530
committerDivay Prakash <divayprakash3@gmail.com>2018-11-02 14:47:22 +0530
commit3dcb56bc220ce48e07f74ef2a912794480f884ea (patch)
tree2dd6271058d3dab1bff36fe38682795ad69c230a /r.html.markdown
parent4eddf0c69677802e5a4451a09e00351630244e83 (diff)
Fix R ggplot error, closes #2237
Diffstat (limited to 'r.html.markdown')
-rw-r--r--r.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/r.html.markdown b/r.html.markdown
index e7486e60..a8b04be2 100644
--- a/r.html.markdown
+++ b/r.html.markdown
@@ -789,7 +789,7 @@ install.packages("ggplot2")
require(ggplot2)
?ggplot2
pp <- ggplot(students, aes(x=house))
-pp + geom_histogram()
+pp + geom_bar()
ll <- as.data.table(list1)
pp <- ggplot(ll, aes(x=time,price))
pp + geom_point()