From 7f29afbf11f0abfb713f697a237a2b19c7cc0cec Mon Sep 17 00:00:00 2001 From: jules32 Date: Mon, 12 Mar 2018 15:21:55 -0700 Subject: [PATCH] update with ggplot setup not dplyr --- github.Rmd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/github.Rmd b/github.Rmd index d3b8687..1436de2 100644 --- a/github.Rmd +++ b/github.Rmd @@ -396,19 +396,19 @@ Here's what I'm going to write in my R Markdown file to begin: ``` --- -title: "My Project" +title: "Graphics with ggplot2" author: "Julie" date: "11/21/2017" output: html_document --- -# Data wrangling with dplyr +# Learning ggplot2 -We are going use "gapminder" data to learn `dplyr`. It's going to be amazing. +We're learning ggplot.2 It's going to be amazing. ``` -Now, let's save it. I'm going to call my file `wrangle-dplyr.Rmd`. +Now, let's save it. I'm going to call my file `ggplot2.Rmd`. OK. Now let's practice with some of those commands that we were working on this morning. @@ -423,7 +423,7 @@ Create a new chunk in your RMarkdown first in one of these ways: Now, let's write some R code. ``` -x <- seq(1:15) +library(tidyverse) # install.packages('tidyverse') ``` Now, hitting return does not execute this command; remember, it's just a text file. To execute it, we need to get what we typed in the the R chunk (the grey R code) down into the console. How do we do it? There are several ways (let's do each of them):