Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. mes = base_final %>%
  2. group_by(mes)%>%
  3. summarise(soma_trs = sum(valor_trs))
  4.  
  5. mes <- data.frame(mes=c ("agosto/2017" , "setembro/2017",
  6. "outubro/2017") , soma_trs=c( 158491307 , 343986834 ,
  7. 922607132 ))
  8.  
  9. ggplot(mes,aes(x = mes, y = soma_trs))+
  10. geom_bar(stat = "identity", fill = "blue") +
  11. labs(title = ' Valor Total de
  12. Transações')
  13.  
  14. qtd_trs <- data.frame (mes=c ("agosto/2017" , "setembro/2017",
  15. "outubro/2017") , qtd = c( 1157048 , 2327304 , 5966050)
  16.  
  17. barplot(table(qtd_trs$mes), col = "blue", main = "Número de
  18. Transações por Mês" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement