a report in different formats, such as PDF, HTML, or Word. - Make slides for presentations (HTML5, LaTeX Beamer, or PowerPoint). - Build interactive applications based on Shiny. - Write journal articles. - Much more.
html_document --- We built a **linear** regression model. ```{r} fit <- lm(mpg ~ disp, data = mtcars) b <- coef(fit) plot(mpg ~ disp, mtcars) ``` The slope of the regression is `r round(b[1], digits = 1)` in the output.
html_document --- We built a **linear** regression model. ```{r} fit <- lm(mpg ~ disp, data = mtcars) b <- coef(fit) plot(mpg ~ disp, mtcars) ``` The slope of the regression is `r round(b[1], digits = 1)` in the output. What we get
pdf_document --- We built a **linear** regression model. ```{r} fit <- lm(mpg ~ disp, data = mtcars) b <- coef(fit) plot(mpg ~ disp, mtcars) ``` The slope of the regression is `r round(b[1], digits = 1)` in the output.
pdf_document --- We built a **linear** regression model. ```{r} fit <- lm(mpg ~ disp, data = mtcars) b <- coef(fit) plot(mpg ~ disp, mtcars) ``` The slope of the regression is `r round(b[1], digits = 1)` in the output. What we get
your data wonʼt always arrive ready to visualize. Often youʼll need to filter unwanted observations from your data or create new variables and summaries to visualize. In this tutorial, you will learn how to filter your data, including: How to use filter() to extract observations that pass a logical test How to write logical comparisons in R How to combine logical comparisons with Boolean operators How to handle missing values within comparisons The readings in this tutorial follow R for Data Science (http://r4ds.had.co.nz/), section 5.2. Continue
3 Kmeans example by Joe Cheng <[email protected]> (http://www.rstudio.com/) show with app function(input, output, session) { # Combine the selected variables into a new data frame selectedData <- reactive({ server.R ui.R Sepal.Length Sepal.Width
Number of Words: 1 50 15 1 11 21 31 41 1 300 100 1 61 121 241 Word cloud by Fereshteh Karimeddini <[email protected]> (http://www.rstudio.com/) A simple word cloud generator, based on show with app # Text of the books downloaded from: # A Mid Summer Night's Dream: # http://www.gutenberg.org/cache/epub/2242/pg2242.txt global.R server.R ui.R A Mid Summer Night's Dream
trips, each with a different path. Only the most commonly- used path will be displayed on the map. Zoom to fit buses Northbound Southbound Eastbound Westbound Refresh interval Refresh now Source data updates every 30 seconds. 1 minute