summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2018-11-02 14:56:00 +0530
committerGitHub <noreply@github.com>2018-11-02 14:56:00 +0530
commitdeef75b16e50b8d8c31c001003712b950daebf74 (patch)
tree2dd6271058d3dab1bff36fe38682795ad69c230a
parent4eddf0c69677802e5a4451a09e00351630244e83 (diff)
parent3dcb56bc220ce48e07f74ef2a912794480f884ea (diff)
Merge pull request #3385 from divayprakash/fix-r
Fix R ggplot error, closes #2237
-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()