Reporting and Interactive Applications
Creating Reports with R Markdown
An R Markdown file mixes text, code, and results in one document. When you render it, R runs the code and builds an HTML, PDF, or Word report. The report can be regenerated when the data or code changes.
Save the file as report.Rmd and click Knit in RStudio, or call rmarkdown::render().
We rendered this file to HTML without errors. A report is also a record of exactly how you reached your answer.

Introduction to Interactive Dashboards with Shiny
Shiny lets you build a web app in R. It has two parts: the user interface is what people see, and the server holds the logic.
When a person changes an input, such as the section, the outputs update at once. Save the code as app.R and start it with shiny::runApp().
We tested the server logic: choosing section A returned 62 students with a mean of 60.8, which matches Project 2. We did not open the screen in a browser, so check the layout once on your computer.
Dashboards let managers or teachers explore the data themselves without writing any code.

Presenting Data Science Results
Good presentation turns numbers into decisions.
- Start with the answer, not the method.
- Use one chart for each point.
- Explain what the numbers mean in plain words.
- Be honest about limits, such as small samples or made-up data.
- End with one clear recommendation that your audience can act on.
Use simple words and avoid technical terms unless your audience already knows them.
R for Data Science
Harini A








