Skip to content

Commit

Permalink
figura 1 (receita por classe)
Browse files Browse the repository at this point in the history
  • Loading branch information
philsf committed Oct 16, 2021
1 parent 638e525 commit bf5c471
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Binary file added figures/receita_total.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scripts/plots-save.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ units <- "cm"
# save plots --------------------------------------------------------------

ggsave(filename = "figures/receitas.png", plot = gg.receitas, height = 16.5, width = 16.5, units = units)
ggsave(filename = "figures/receita_total.png", plot = gg.rec_total, height = height, width = width, units = units)
6 changes: 4 additions & 2 deletions scripts/plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ data.raw %>%
# scale_color_brewer(palette = ff.pal) +
# scale_fill_brewer(palette = ff.pal)

gg +
geom_histogram(aes(total_receita), binwidth = .5) +
gg.rec_total <- gg +
geom_histogram(aes(total_receita), binwidth = .5, fill = ff.col) +
xlab(attr(analytical$total_receita, "label")) +
ylab("") +
facet_wrap(~ evangelico)

0 comments on commit bf5c471

Please sign in to comment.