Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
cool ggplot
# install.packages("ggplot2") # load package and data options(scipen=999) # turn-off scientific notation like 1e+48 library(ggplot2) theme_set(theme_bw()) # pre-set the bw theme. data("midwest", package = "ggplot2") # midwest <- read.csv("http://goo.gl/G1K41K") # bkup data source # Scatterplot gg <- ggplot(midwest, aes(x=area, y=poptotal)) + geom_point(aes(col=state, size=popdensity)) + geom_smooth(method="loess", se=F) + xlim(c(0, 0.1)) + ylim(c(0, 500000)) + labs(subtitle="Area Vs Population", y="Population", x="Area", title="Scatterplot", caption = "Source: midwest") plot(gg)
run
|
edit
|
history
|
help
0
26-08-2020AjusteCurvaLinearizab
ExDecaiEulerMin28-01-21
BTBsung
T4_EX01_9436451
Sierpinski triangle - changed
28-09-2020Int-poli-inter-FuncaoComportadabem
21-09-2020Intpoli
AjusteNaoLinear11-02-21
rungeefeito
03-08-2020-Integral-Numerica