<?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%2FPlotting-Bar-Charts-and-Scatter-Plot%2FEnglish-timed</id>
		<title>R/C2/Plotting-Bar-Charts-and-Scatter-Plot/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%2FPlotting-Bar-Charts-and-Scatter-Plot%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Plotting-Bar-Charts-and-Scatter-Plot/English-timed&amp;action=history"/>
		<updated>2026-05-13T06:33:54Z</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/Plotting-Bar-Charts-and-Scatter-Plot/English-timed&amp;diff=52385&amp;oldid=prev</id>
		<title>Sakinashaikh at 15:05, 1 June 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Plotting-Bar-Charts-and-Scatter-Plot/English-timed&amp;diff=52385&amp;oldid=prev"/>
				<updated>2020-06-01T15:05:47Z</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 15:05, 1 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 150:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 150:&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;|| 03:11 &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;|| 03:11 &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;|| Let me resize the '''Source''' window. &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;|| Let me resize the '''Source''' window. &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;/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;|-&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;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 454:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 453:&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;|| 10:24&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;|| 10:24&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;|| Please contact us.&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;|| Please contact us.&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;−&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;|-&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;|-&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/Plotting-Bar-Charts-and-Scatter-Plot/English-timed&amp;diff=52384&amp;oldid=prev</id>
		<title>Sakinashaikh: Created page with &quot;{| border = 1 |'''Time''' |'''Narration'''  |- || 00:01 || Welcome to this tutorial on '''Plotting bar charts and scatter plot'''.   |- || 00:08  || In this tutorial, we will...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Plotting-Bar-Charts-and-Scatter-Plot/English-timed&amp;diff=52384&amp;oldid=prev"/>
				<updated>2020-06-01T15:05:12Z</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;Plotting bar charts and scatter plot&amp;#039;&amp;#039;&amp;#039;.   |- || 00:08  || In this tutorial, we will...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&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 '''Plotting bar charts and scatter plot'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:08 &lt;br /&gt;
|| In this tutorial, we will learn how to: &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:12  &lt;br /&gt;
|| Plot '''bar charts'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:14 &lt;br /&gt;
|| Plot '''scatter plot'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:18&lt;br /&gt;
|| Find the correlation coefficient between two objects. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:22 &lt;br /&gt;
|| To understand this tutorial, you should know, &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:27&lt;br /&gt;
|| '''Data frames''' in '''R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:29 &lt;br /&gt;
||  Basics of Statistics &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:33 &lt;br /&gt;
|| If not, please locate the relevant tutorials '''R''' on this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:40 &lt;br /&gt;
|| This tutorial is recorded on&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:43  &lt;br /&gt;
||  '''Ubuntu Linux '''OS version '''16.04'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:48&lt;br /&gt;
||  '''R''' version '''3.4.4'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:51&lt;br /&gt;
||  '''RStudio''' version '''1.1.463'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:57&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:06  &lt;br /&gt;
|| A '''data frame moviesData.csv'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:10&lt;br /&gt;
|| A '''script''' file '''barPlots.R'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01: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 '''Plots''' 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 '''Plots''' folder as my '''Working Directory.''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:40&lt;br /&gt;
|| Let us switch to '''Rstudio'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:42 &lt;br /&gt;
|| Open the '''script barPlots.R '''in''' RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:49 &lt;br /&gt;
|| Run this '''script''' by clicking on '''Source''' button. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:53 &lt;br /&gt;
|| '''movies data frame''' opens in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:58 &lt;br /&gt;
|| It has 600 '''observations''' of 31 '''variables'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:04 &lt;br /&gt;
|| In the '''Source''' window, scroll from left to right. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:10&lt;br /&gt;
|| This will enable us to see the remaining objects of '''movies data frame'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:17 &lt;br /&gt;
|| Now, we will learn how to draw a bar chart of the object named '''imdb underscore rating''' in  '''movies'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:27 &lt;br /&gt;
|| A '''bar chart '''represents data in rectangular bars with length of the bar proportional to the value of  the '''variable'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:37&lt;br /&gt;
|| '''R''' uses the '''function barplot''' to create bar charts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:42 &lt;br /&gt;
|| Let us switch to '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:45&lt;br /&gt;
|| For the sake of simplicity, we are considering only the first 20 '''observations''' of '''movies''' to  draw a bar chart. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:54&lt;br /&gt;
|| Click on the '''script barPlots.R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:58&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:02&lt;br /&gt;
|| Save the '''script''' and run the current line by pressing '''Ctrl + Enter''' keys simultaneously. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:11 &lt;br /&gt;
|| Let me resize the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:14&lt;br /&gt;
|| '''moviesSub''' with 20 '''observations''' is loaded in the '''Environment'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:21&lt;br /&gt;
|| Now, we draw a bar chart of '''imdb_rating''' for these movies. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:28&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''.&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
|| 03:34 &lt;br /&gt;
|| Here, we have used the following '''arguments''':&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:39&lt;br /&gt;
|| '''moviesSub dollar sign imdb underscore rating '''is the data for plotting &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:46&lt;br /&gt;
|| '''ylab''' and '''xlab''' for adding labels to the respective axes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:53&lt;br /&gt;
|| '''col''' to set the color of bins &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:57&lt;br /&gt;
|| '''ylim''' to set the range of values on Y-axis &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:02&lt;br /&gt;
|| '''main''' for adding a title to the bar chart.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:07&lt;br /&gt;
|| Run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:09&lt;br /&gt;
|| The bar chart is displayed with '''Movies''' on X-axis and their '''imdb_rating''' on Y-axis. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:18 &lt;br /&gt;
|| In the '''Plots''' window, click on '''Zoom''' to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:23&lt;br /&gt;
|| This particular movie has an '''IMDB rating''' of approximately 6. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:31&lt;br /&gt;
|| Similarly, this particular movie has an '''IMDB rating''' of approximately 8. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:39&lt;br /&gt;
|| However, we do not know the name of the movies. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:44&lt;br /&gt;
|| So, we will add more '''arguments''' in '''barplot function''' to show the names of movies on X-axis. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:52&lt;br /&gt;
|| Close this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:55&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:00 &lt;br /&gt;
|| Here, we have used the '''argument names.arg''' and set it to '''title'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:06&lt;br /&gt;
|| Remember, '''title''' column in '''moviesSub''' contains the names of movies. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:13&lt;br /&gt;
|| Run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:16 &lt;br /&gt;
|| In the '''Plots''' window, click on '''Zoom''' to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:22 &lt;br /&gt;
|| Now, the names of movies are displayed on the X-axis.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:27&lt;br /&gt;
|| But not for all movies. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:30&lt;br /&gt;
|| This is due to the point that the names are too long to be accommodated. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:36&lt;br /&gt;
|| That’s why, we will make these names perpendicular to X-axis. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:42&lt;br /&gt;
|| Close this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:44&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:49&lt;br /&gt;
|| Here, we have used '''las argument'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:53&lt;br /&gt;
|| '''las '''equal to''' 2''' produces labels which are at right angles to the axis. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:01&lt;br /&gt;
|| Run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:03&lt;br /&gt;
|| In the '''Plots''' window, click on '''Zoom''' to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:10 &lt;br /&gt;
|| Now the names for all the movies are displayed on X-axis. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:15&lt;br /&gt;
|| For example, '''Filly Brown''' has an '''IMDB rating''' of approximately 6. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:23&lt;br /&gt;
|| However, longer names are being truncated. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:28&lt;br /&gt;
|| We can add more '''arguments''' to '''barplot function''' for adjusting labels. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:34&lt;br /&gt;
|| For more information, please refer to the '''Additional Material''' section on this website. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:42&lt;br /&gt;
|| Close this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:44&lt;br /&gt;
|| In the '''Source''' window, click on '''movies'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:47&lt;br /&gt;
|| Let us analyze the relation between '''imdb underscore rating''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:54&lt;br /&gt;
|| and '''audience underscore score'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:58&lt;br /&gt;
|| For this, we will draw a '''scatter plot''' with these two objects by using '''plot function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:05&lt;br /&gt;
|| Remember, we have already learnt how to plot a single object. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:11&lt;br /&gt;
|| '''Scatter plot''' is a graph in which the values of two '''variables''' are plotted along two axes. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:18&lt;br /&gt;
|| The pattern of the resulting points reveals the correlation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:24 &lt;br /&gt;
|| Let us switch to '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:27&lt;br /&gt;
|| In the '''Source''' window, click on the '''script barPlots.R'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:32 &lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:39 &lt;br /&gt;
|| Here, we have kept '''imdb underscore rating''' on the X-axis and '''audience underscore score''' on the Y-axis. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:50 &lt;br /&gt;
|| As '''imdb underscore rating''' of any movie varies between 0 and 10, &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:56&lt;br /&gt;
|| we have set the range of values on X-axis from 0 to 10. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:02&lt;br /&gt;
|| Similarly, we have set the range of values on Y-axis from 0 to 100. &lt;br /&gt;
|-&lt;br /&gt;
|| 08:08&lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:13&lt;br /&gt;
|| In the '''Plots''' window, click on '''Zoom''' to maximize the plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:18 &lt;br /&gt;
|| We can observe that the movies having higher '''imdb underscore rating''' has a high '''audience underscore score'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:28&lt;br /&gt;
|| Close this plot. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:31&lt;br /&gt;
|| Now we will learn how to calculate the correlation coefficient between '''imdb underscore rating '''and '''audience underscore score'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:42&lt;br /&gt;
|| For this, we use '''cor function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:46&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:50  &lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:55&lt;br /&gt;
|| The correlation coefficient between '''imdb underscore rating''' and '''audience underscore score''' is evaluated as 0.865. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:08 &lt;br /&gt;
|| The value of correlation coefficient is always between -1 and +1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:15&lt;br /&gt;
|| A positive value indicates that the '''variables''' are positively related. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:21&lt;br /&gt;
|| Let us summarize what we have learnt.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:25&lt;br /&gt;
|| In this tutorial, we have learnt how to:&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:29&lt;br /&gt;
|| Plot '''bar charts'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:31&lt;br /&gt;
|| Plot '''scatter plot'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:34&lt;br /&gt;
|| Find the correlation coefficient between two objects &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:39&lt;br /&gt;
|| We now suggest an assignment.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:43&lt;br /&gt;
|| Read the file '''moviesData.csv'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:48&lt;br /&gt;
|| Create a bar chart of '''critics underscore score''' for the first 10 movies. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:55&lt;br /&gt;
|| Create a '''scatter plot''' of''' imdb underscore rating''' and '''imdb underscore num underscore votes''' to see their relation. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:08&lt;br /&gt;
|| Save both the plots. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:11 &lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:19&lt;br /&gt;
|| We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:24&lt;br /&gt;
|| Please contact us.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:27&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:31&lt;br /&gt;
|| Please post your general queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:35&lt;br /&gt;
|| The '''FOSSEE '''team coordinates the '''TBC '''project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:40&lt;br /&gt;
|| For more details, please visit these sites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:43&lt;br /&gt;
|| The Spoken Tutorial project is funded by '''NMEICT''', '''MHRD''', Govt. of India&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:50 &lt;br /&gt;
|| The script for this tutorial was contributed by Tushar Bajaj (TISS Mumbai).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:58&lt;br /&gt;
|| This is Sudhakar Kumar from IIT Bombay signing off. Thanks for watching.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	</feed>