-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.Rmd
47 lines (38 loc) · 967 Bytes
/
report.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: "Custeio ABC para Tomada de Decisões Gerenciais"
date: 2022-01-05
author: "Diego Rodrigues"
output:
html_document:
toc: true
theme: united
highlight: tango
css: style.css
df_print: kable
includes:
in_header: header2.html
after_body: footer.html
runtime: shiny
---
```{r, echo=FALSE}
if (!require("tidyverse")) install.packages("tidyverse")
# Carrega Bibliotecas
library(tidyr)
library(dplyr)
library(readr)
library(readxl)
library(stringr)
library(lubridate)
library(clipr)
library(ggplot2)
library(ggthemes)
custos_diretos <- read_excel("Base de Dados.xlsx", sheet = 1)
custos_departamentos <- read_excel("Base de Dados.xlsx", sheet = 2)
rateio_atividade <- read_excel("Base de Dados.xlsx", sheet = 3)
direcionadores <- read_excel("Base de Dados.xlsx", sheet = 4)
```
# Uha
```{r}
ggplot(custos_diretos, aes(x = Produto, y = Valor, fill = Custo)) +
geom_col()
```