library(knitr)
load("C:/Users/marce/OneDrive/Documentos/RStudio/Base_de_dados-master/Base_de_dados-master/df_pokemon.RData")
View(df)
Gráfico analisando 2 variáveis Quanti x Quanti
plot((df$height~df$attack),
col = "powderblue",
xlab = "Ataque", ylab = "Altura",
main = 'Gráfico de Dispersão')
abline(lm(df$height~df$attack), col = "gold")
library(ggplot2)
ggplot(df, aes(x=height, y=attack) ) +
geom_hex(bins = 10) +
scale_fill_continuous(type = "viridis") +
theme_bw()