<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=R%2FC2%2FIntroduction-to-ggplot2%2FEnglish-timed</id>
		<title>R/C2/Introduction-to-ggplot2/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=R%2FC2%2FIntroduction-to-ggplot2%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-ggplot2/English-timed&amp;action=history"/>
		<updated>2026-04-23T19:43:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-ggplot2/English-timed&amp;diff=52147&amp;oldid=prev</id>
		<title>Sakinashaikh at 10:50, 22 May 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-ggplot2/English-timed&amp;diff=52147&amp;oldid=prev"/>
				<updated>2020-05-22T10:50:04Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:50, 22 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 613:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 613:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| 13:36&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| 13:36&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| The script for this tutorial was contributed by Varshit Dubey (CoE Pune).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| The script for this tutorial was contributed by Varshit Dubey (CoE Pune).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| 13:43&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|| 13:43&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;||This is Sudhakar Kumar from IIT Bombay signing off. Thanks for watching.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;||This is Sudhakar Kumar from IIT Bombay signing off. Thanks for watching.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-ggplot2/English-timed&amp;diff=52146&amp;oldid=prev</id>
		<title>Sakinashaikh at 10:49, 22 May 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-ggplot2/English-timed&amp;diff=52146&amp;oldid=prev"/>
				<updated>2020-05-22T10:49:45Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:49, 22 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 121:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 121:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; || 02:14&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; || 02:14&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; || Open the '''script ggPlots.R''' in '''RStudio'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; || Open the '''script ggPlots.R''' in '''RStudio'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; |- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; |- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-ggplot2/English-timed&amp;diff=52145&amp;oldid=prev</id>
		<title>Sakinashaikh: Created page with &quot;   {| border =1 |'''Time''' |'''Narration'''  |-  || 00:01 || Welcome to this tutorial on '''Introduction to ggplot2'''.   |-  || 00:07 || In this tutorial, we will learn abou...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Introduction-to-ggplot2/English-timed&amp;diff=52145&amp;oldid=prev"/>
				<updated>2020-05-22T10:49:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;   {| border =1 |&amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039; |&amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;  |-  || 00:01 || Welcome to this tutorial on &amp;#039;&amp;#039;&amp;#039;Introduction to ggplot2&amp;#039;&amp;#039;&amp;#039;.   |-  || 00:07 || In this tutorial, we will learn abou...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border =1&lt;br /&gt;
|'''Time'''&lt;br /&gt;
|'''Narration'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:01&lt;br /&gt;
|| Welcome to this tutorial on '''Introduction to ggplot2'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:07&lt;br /&gt;
|| In this tutorial, we will learn about&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:11&lt;br /&gt;
|| Need for '''data visualization'''&lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 00:15&lt;br /&gt;
|| Basic '''plot function''' in '''R'''&lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 00:18&lt;br /&gt;
|| '''ggplot2 package'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:21&lt;br /&gt;
|| To understand this tutorial, you should know, &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 00:25&lt;br /&gt;
|| Basics of Statistics and&lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 00:28&lt;br /&gt;
|| '''Data frames''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:31&lt;br /&gt;
|| If not, please locate the relevant tutorials on '''R''' on this website.&lt;br /&gt;
&lt;br /&gt;
|-  &lt;br /&gt;
|| 00:38&lt;br /&gt;
|| This tutorial is recorded on&lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 00:40&lt;br /&gt;
|| '''Ubuntu Linux ''' OS version 16.04&lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 00:46&lt;br /&gt;
|| '''R''' version 3.4.4&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 00:50&lt;br /&gt;
 || '''RStudio''' version 1.1.463&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 00:56&lt;br /&gt;
 || Install '''R''' version 3.2.0 or higher. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:02&lt;br /&gt;
 || For this tutorial, we will use,&lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 01:05&lt;br /&gt;
 || A '''data frame moviesData.csv''' &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:10&lt;br /&gt;
 || And a '''script''' file '''ggPlots.R'''.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 00:15&lt;br /&gt;
 || Please download these files from the '''Code files''' link of this tutorial. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:21&lt;br /&gt;
 || I have downloaded and moved these files to '''ggPlots''' folder. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:28&lt;br /&gt;
 || This folder is located in '''myProject''' folder on my '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:33&lt;br /&gt;
 || I have also set '''ggPlots''' folder as my '''Working Directory'''. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:40&lt;br /&gt;
 || Now let us learn about '''visualization'''.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:44&lt;br /&gt;
 || '''Visualization''' is an important tool for '''insight generation'''. &lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 01:50&lt;br /&gt;
 || It is used to understand the '''data structure''', identify '''outliers''' and find patterns.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 01:57&lt;br /&gt;
 || There are 2 methods of '''data visualization''' in '''R''':&lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 02:03&lt;br /&gt;
 || Basics graphics and &lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 02:05&lt;br /&gt;
 || Grammar of graphics (popularly known as '''ggplot2''') &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 02:11&lt;br /&gt;
 || Let us switch to '''RStudio'''.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 02:14&lt;br /&gt;
 || Open the '''script ggPlots.R''' in '''RStudio'''. &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 02:20&lt;br /&gt;
 || Let us run this '''script''' by clicking on the '''Source''' button. &lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 02:26&lt;br /&gt;
 || '''movies data frame''' is loaded in the '''workspace'''. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 02:30&lt;br /&gt;
 || This '''data frame''' will be used later in this tutorial. &lt;br /&gt;
    &lt;br /&gt;
|- &lt;br /&gt;
|| 02:35&lt;br /&gt;
|| First, we will plot a '''sine''' curve by taking equally spaced samples.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:42&lt;br /&gt;
|| In the '''Source''' window, type the following '''commands'''. &lt;br /&gt;
     &lt;br /&gt;
|- &lt;br /&gt;
|| 02:47&lt;br /&gt;
|| Here, we have used the '''seq function''' to generate a sequence.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:53&lt;br /&gt;
||This sequence is from '''minus pi''' to '''plus pi''' with an interval of zero point one. &lt;br /&gt;
 &lt;br /&gt;
  |- &lt;br /&gt;
  || 03:00&lt;br /&gt;
  || In '''plot command''', the first '''argument''' is '''x''' and the second '''argument y''' is '''Sine of x'''. &lt;br /&gt;
 &lt;br /&gt;
  |- &lt;br /&gt;
  || 03:12&lt;br /&gt;
  ||Save the '''script''' and run the last three lines of code by pressing '''Ctrl + Enter''' keys simultaneously.&lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 03:23&lt;br /&gt;
  || A plot of '''sine''' curve appears in the '''Plots''' window. &lt;br /&gt;
 &lt;br /&gt;
  |- &lt;br /&gt;
  || 03:27&lt;br /&gt;
  || In the '''Plots''' window, click on the '''Zoom''' button to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 03:34&lt;br /&gt;
  || Now we will add some more layers in this '''plot'''. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 03:39&lt;br /&gt;
  || Click on '''Close ''' button to close this plot. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 03:43&lt;br /&gt;
  ||In the '''Source''' window, type the following '''commands'''. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 03:48&lt;br /&gt;
  || Here, we have added '''main''' and '''ylab arguments''' to the '''plot function'''. &lt;br /&gt;
 &lt;br /&gt;
  |- &lt;br /&gt;
  || 03:55&lt;br /&gt;
  ||Run the current line. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 03:57&lt;br /&gt;
  ||In the '''Plots''' window, click on '''Zoom''' button to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 04:04&lt;br /&gt;
  || The title of the '''plot''' and label of Y-axis have been added to the plot. &lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 04:10&lt;br /&gt;
 || Close this plot. &lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 || 04:13&lt;br /&gt;
 || Now we will learn how to change the '''type''' of '''plot'''.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:18&lt;br /&gt;
 || In the '''Source''' window, type the following '''commands'''. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:23&lt;br /&gt;
 || Here, we have used the '''type argument''' and set it to '''l'''.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:30&lt;br /&gt;
 || It means that the type of plot we need is '''lines'''. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:36&lt;br /&gt;
 || '''col equal to blue''', changes the colour of the plot to blue. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:42&lt;br /&gt;
 || Run the current line. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:43&lt;br /&gt;
 || The '''type''' and '''color''' of the plot have been changed. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:49&lt;br /&gt;
 || Now, we will plot one more graph on the same plot. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 04:53&lt;br /&gt;
 ||Let us plot '''cosine''' of '''x '''along with '''sine''' of '''x''' on the same plot.&lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 05:01&lt;br /&gt;
 || In the '''Source''' window, type the following '''commands'''. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 05:05 &lt;br /&gt;
 || This '''command''' plots '''sine''' of '''x''' using the '''plot function'''. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 05:12&lt;br /&gt;
 || Next, we use '''lines function''' to plot '''cosine of x'''. &lt;br /&gt;
 &lt;br /&gt;
 |- &lt;br /&gt;
 ||  05:18&lt;br /&gt;
 || After the first line is plotted, the '''lines function''' is used.&lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 05:23&lt;br /&gt;
  ||It takes an additional '''vector cos of x''' as an input to draw the second line in the plot. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 ||05:32&lt;br /&gt;
 || Run the last two lines of code by pressing '''Ctrl+Enter''' keys simultaneously. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 05:40&lt;br /&gt;
 || The two graphs appear in the same plot window. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 05:45&lt;br /&gt;
  ||Here we can add a '''legend''' to the plot to differentiate between the multiple graphs.&lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 05:52&lt;br /&gt;
  ||For this, we will use '''legend function'''. &lt;br /&gt;
&lt;br /&gt;
  |- &lt;br /&gt;
  || 05:56&lt;br /&gt;
  || In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
 &lt;br /&gt;
 |-&lt;br /&gt;
 || 06:00&lt;br /&gt;
 || I will resize the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 06:04&lt;br /&gt;
 || The first '''argument''' refers to the coordinates for placing the '''legend''' in our plot. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 06:12&lt;br /&gt;
 ||We have set the coordinates to '''topleft'''. &lt;br /&gt;
&lt;br /&gt;
 |- &lt;br /&gt;
 || 06:16&lt;br /&gt;
 || The second '''argument''' is the names to be given. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:20&lt;br /&gt;
||Since we have plotted '''sine''' and '''cosine functions''', we will pass these two names as a '''vector'''.               &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||06:28&lt;br /&gt;
|| Next, we have used the '''fill argument''' to specify the graphs by their colors. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||06:35&lt;br /&gt;
||Recall that, '''sine function''' is plotted in blue and '''cosine function''' in red. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:42&lt;br /&gt;
|| I will resize the '''Plots''' window.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:45&lt;br /&gt;
|| Run the last three lines of code by pressing '''Ctrl+Enter''' keys simultaneously. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 06:54&lt;br /&gt;
|| In the '''Plots''' window, click on '''Zoom''' button to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:00&lt;br /&gt;
|| The two plots with their names appear in the same graph. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:05&lt;br /&gt;
|| Close the plot. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:07&lt;br /&gt;
|| So far, we have discussed the basic graphics in '''R language'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:13&lt;br /&gt;
|| Now, we will learn about the '''grammar of graphics''' by using '''ggplot2 package'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:20&lt;br /&gt;
||'''ggplot2 package''' was created by '''Hadley Wickham''' in 2005. &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 07:26&lt;br /&gt;
|| It offers a powerful '''graphics language''' for creating elegant and complex plots.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:34&lt;br /&gt;
|| Let us switch to '''RStudio'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:37&lt;br /&gt;
|| I will resize the '''Plots''' window.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:40&lt;br /&gt;
|| To use any '''package''' in '''R''', we need to install and then load it. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:45&lt;br /&gt;
||As I have already installed '''ggplot2 package''', I will load this directly. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:52&lt;br /&gt;
|| If you have not installed the '''package''', please use '''install dot packages function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 07:59&lt;br /&gt;
||Please make sure that you are connected to the Internet while installing the '''packages'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:05&lt;br /&gt;
|| To load this '''package''', we will add the '''library''' at the top of the '''script'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:11&lt;br /&gt;
|| In the '''Source '''window, scroll up to the top of the '''script'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:16&lt;br /&gt;
|| Now, at the top of the '''script''', type '''library''' and '''ggplot2''' in parentheses.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:26&lt;br /&gt;
|| Save the '''script '''and run this line.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:31&lt;br /&gt;
|| Now, in the '''Source''' window, click on the next line after the '''legend function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:38&lt;br /&gt;
|| We will use '''movies data frame''' for exploring '''ggplot2 package'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:44&lt;br /&gt;
|| Let us view the '''objects''' available in '''movies data frame'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:50&lt;br /&gt;
|| In the '''Source''' window, type '''View''' and '''movies''' in parentheses. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:56&lt;br /&gt;
|| Run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||  08:58&lt;br /&gt;
|| '''movies data frame''' opens in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:02&lt;br /&gt;
|| Now, we will create a simple '''scatter plot''' with two different '''objects''' of movies. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:10&lt;br /&gt;
|| Remember, a '''scatter plot''' is a graph in which the values of two '''variables''' are plotted along the axes.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:19&lt;br /&gt;
|| In the '''Source''' window, scroll from left to right to see the remaining '''objects''' of '''movies data frame'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||  09:28&lt;br /&gt;
|| Suppose, we want to visualize the correlation between '''critics_score''' and '''audience_score'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:37&lt;br /&gt;
|| In the '''Source''' window, click on the '''script ggPlots.R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:43&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:47&lt;br /&gt;
|| '''ggplot function''' takes three basic '''arguments''':&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:52&lt;br /&gt;
|| '''Data''' '''Aesthetics'''  '''Geometry''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:56&lt;br /&gt;
|| In '''ggplot function''', we have used the following '''arguments''':&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:01&lt;br /&gt;
|| '''data''', which refers to the '''data set''' to be used for plotting. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:06&lt;br /&gt;
|| We have set '''data''' equal to '''movies'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:10&lt;br /&gt;
|| '''mapping, '''which is used to apply '''aesthetics mapping''' to the plot.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:16&lt;br /&gt;
|| '''aes,''' which is used to specify the '''mapping''' of '''objects''' on X and Y axes. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:23&lt;br /&gt;
|| We will learn more about aesthetics mapping later in this series.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:28&lt;br /&gt;
|| '''geom '''underscore '''point''' is used to draw points defined by X and Y coordinates.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:36&lt;br /&gt;
|| Run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:39&lt;br /&gt;
|| '''Scatter plot''' appears in the '''Plots''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:42&lt;br /&gt;
|| In the '''Plots''' window, click on the '''Zoom''' button to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:49&lt;br /&gt;
|| We can see that there is a positive correlation between '''critics_score''' and '''audience_score'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:56&lt;br /&gt;
|| Now we will learn how to save a plot generated by '''ggplot function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:03&lt;br /&gt;
|| Close this plot. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:05&lt;br /&gt;
|| For saving the plots, there is a '''function''' named '''ggsave''' in '''ggplot2 package'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:13&lt;br /&gt;
|| To know the syntax of '''ggsave function''', we will access the '''Help''' section in '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||11:20&lt;br /&gt;
|| In the '''Console''' window, type question mark '''ggsave''' and press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:27&lt;br /&gt;
|| I will resize the '''Help''' window.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:30&lt;br /&gt;
|| The first '''argument''' in this '''function''' is the '''filename'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:35&lt;br /&gt;
|| Next, there is the '''argument''' named '''plot''' which means the plot to be saved. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:42&lt;br /&gt;
|| By default, it will save the last plot. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:46&lt;br /&gt;
|| Click on the '''Plots '''window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:49&lt;br /&gt;
|| Let us save our '''scatter plot''' with a name '''scatter underscore plot''' in '''png format'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:58&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:02&lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:07&lt;br /&gt;
|| Click on the '''Files '''tab. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:10&lt;br /&gt;
|| The plot has been saved in our '''current working directory'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:15&lt;br /&gt;
|| Let us summarize what we have learnt.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:19&lt;br /&gt;
|| In this tutorial, we have learnt about,&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:23&lt;br /&gt;
|| Need for''' data visualization'''&lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 12:26&lt;br /&gt;
|| Basic '''plot function''' in '''R'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:29&lt;br /&gt;
|| '''ggplot2 package'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:32&lt;br /&gt;
|| We now suggest an assignment.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:36&lt;br /&gt;
|| Consider the '''built-in data set ''mtcars'''''. Find the numerical '''variables''' in this '''data set'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:43&lt;br /&gt;
|| Make a '''scatter plot''' from the '''objects''' named '''mpg''' and '''wt''' in this '''data set'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:51&lt;br /&gt;
|| Save the plot in '''.jpeg format'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 12:56&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:01&lt;br /&gt;
|| Please download and watch it.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:04&lt;br /&gt;
|| We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:10&lt;br /&gt;
|| Please contact us.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:13&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:17&lt;br /&gt;
|| Please post your general queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:21&lt;br /&gt;
|| The '''FOSSEE '''team coordinates the '''TBC '''project.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:24&lt;br /&gt;
||For more details, please visit these sites.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:29&lt;br /&gt;
|| The Spoken Tutorial project is funded by , MHRD, Govt. of India&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:36&lt;br /&gt;
|| The script for this tutorial was contributed by Varshit Dubey (CoE Pune).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 13:43&lt;br /&gt;
||This is Sudhakar Kumar from IIT Bombay signing off. Thanks for watching.&lt;/div&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	</feed>