This report presents a basic financial analysis using R Markdown. The purpose is to demonstrate how text, code, and results can be combined in one reproducible document
revenue <- c(1200, 1500, 1700)
summary(revenue)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 1200 1350 1500 1467 1600 1700
expenses <- c(800, 900, 1100)
profit <- revenue - expenses
profit
## [1] 400 600 600
barplot(
profit,
names.arg = c("Jan", "Feb", "Mar"),
main = "Monthly Profit",
col = "lightgreen"
)
he bar chart shows the monthly profit from January to March. It clearly demonstrates that profit is increasing over time, indicating improved financial performance