Skip to Content
RStudio for R Statistical Computing Cookbook
book

RStudio for R Statistical Computing Cookbook

by Andrea Cirillo
April 2016
Beginner to intermediate content levelBeginner to intermediate
246 pages
5h 20m
English
Packt Publishing
Content preview from RStudio for R Statistical Computing Cookbook

Creating an interactive report with Shiny

This recipe gives you a perfect tool for sharing analysis results with third parties.

Interactive reports are electronic documents enriched by Shiny functionalities, giving the user the ability to change the assumptions on which analyses are based and consequently changing the document's output.

You should now be comfortable with your analysis, autonomously answering questions that arise while reading.

How to do it…

  1. Create a Shiny document:
    How to do it…
  2. Remove the default content yaml parameters.
  3. Add a setup chunk:
    ```{r setup, include=FALSE}
    knitr::opts_chunk$set(echo = TRUE)
    ```
  4. Embed your Shiny app:
    ```{r tabsets, echo=FALSE} ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Data Analysis Using Jupyter Notebook

Practical Data Analysis Using Jupyter Notebook

Marc Wintjen

Publisher Resources

ISBN: 9781784391034Supplemental Content