mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Fix R ggplot error, closes #2237
This commit is contained in:
parent
4eddf0c696
commit
3dcb56bc22
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user