<?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%2FData-Manipulation-using-dplyr-Package%2FEnglish</id>
		<title>R/C2/Data-Manipulation-using-dplyr-Package/English - 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%2FData-Manipulation-using-dplyr-Package%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;action=history"/>
		<updated>2026-05-14T04:28:21Z</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/Data-Manipulation-using-dplyr-Package/English&amp;diff=48911&amp;oldid=prev</id>
		<title>Madhurig at 05:51, 28 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48911&amp;oldid=prev"/>
				<updated>2019-08-28T05:51:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;amp;diff=48911&amp;amp;oldid=48701&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Madhurig</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48701&amp;oldid=prev</id>
		<title>Nancyvarkey at 11:58, 9 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48701&amp;oldid=prev"/>
				<updated>2019-08-09T11:58:06Z</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 11:58, 9 August 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 270:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 270:&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;In the '''Console''' window, type the following '''command''' and press '''Enter'''. &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;In the '''Console''' window, type the following '''command''' and press '''Enter'''. &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 class=&quot;diffchange diffchange-inline&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&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: #a3d3ff; 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;−&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 class=&quot;diffchange diffchange-inline&quot;&gt;|&amp;#160; | Highlight '''Help''' window &lt;/del&gt;&lt;/div&gt;&lt;/td&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: #a3d3ff; 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 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 class=&quot;diffchange diffchange-inline&quot;&gt;|&amp;#160; | Match returns a '''vector''' of the positions of first matches of its first '''argument''' in its second.&lt;/del&gt;&lt;/div&gt;&lt;/td&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: #a3d3ff; 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 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;|| Highlight the '''Run''' button in 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;|| Highlight the '''Run''' button in the '''Source''' window &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48652&amp;oldid=prev</id>
		<title>Nancyvarkey at 08:33, 7 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48652&amp;oldid=prev"/>
				<updated>2019-08-07T08:33:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;amp;diff=48652&amp;amp;oldid=48644&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48644&amp;oldid=prev</id>
		<title>Sudhakarst at 13:40, 6 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48644&amp;oldid=prev"/>
				<updated>2019-08-06T13:40:08Z</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 13:40, 6 August 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 471:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 471:&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;Thank You&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;Thank You&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;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;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 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>Sudhakarst</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48643&amp;oldid=prev</id>
		<title>Sudhakarst at 13:39, 6 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48643&amp;oldid=prev"/>
				<updated>2019-08-06T13:39:11Z</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 13:39, 6 August 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 349:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 349:&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;|| Highlight '''imdb_rating''' in the '''Source''' window&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;|| Highlight '''imdb_rating''' in the '''Source''' window&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;|| In the '''Source''' window, scroll from left to right and locate the '''imdb_rating''' column. &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;|| In the '''Source''' window, scroll from left to right and locate the '''imdb_rating''' column. &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;The '''movies''' have been arranged in ascending order of '''imdb_rating'''. &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;The '''movies''' have been arranged in ascending order of '''imdb_rating'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sudhakarst</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48642&amp;oldid=prev</id>
		<title>Sudhakarst at 13:37, 6 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48642&amp;oldid=prev"/>
				<updated>2019-08-06T13:37:53Z</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 13:37, 6 August 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&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;Functions in '''dplyr''' package&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;Functions in '''dplyr''' package&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;|| * '''summarise - '''to condense multiple values to a single value.&lt;/div&gt;&lt;/td&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: #a3d3ff; 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 colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&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: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''summarise - '''to condense multiple values to a single value.&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;/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;These all functions can be combined with '''group underscore by''' function. It allows us to perform any operation by a group.&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;These all functions can be combined with '''group underscore by''' function. It allows us to perform any operation by a group.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sudhakarst</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48641&amp;oldid=prev</id>
		<title>Sudhakarst at 13:36, 6 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48641&amp;oldid=prev"/>
				<updated>2019-08-06T13:36:35Z</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 13:36, 6 August 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&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;About dplyr Package&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;About dplyr Package&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;/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;−&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;|| * '''dplyr''' is a package for data manipulation, written and maintained by '''Hadley Wickham'''.&lt;/div&gt;&lt;/td&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: #a3d3ff; 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 colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&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: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''dplyr''' is a package for data manipulation, written and maintained by '''Hadley Wickham'''.&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;* It comprises many functions that perform mostly used data manipulation operations. &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;* It comprises many functions that perform mostly used data manipulation operations. &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;/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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 100:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&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;|| Highlight '''movies''' in 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;|| Highlight '''movies''' in the '''Source''' window &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;|| '''movies data frame''' opens in 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;|| '''movies data frame''' opens in 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;This '''data frame''' will be used later in this tutorial. &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;This '''data frame''' will be used later in this tutorial. &amp;#160;&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 158:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 158:&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;|| Highlight the scroll bar in 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;|| Highlight the scroll bar in the '''Source''' window &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;|| In the '''Source''' window, scroll from left to right. &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;|| In the '''Source''' window, scroll from left to right. &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;This will enable us to see the remaining objects of '''movies''' '''data frame'''. &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;This will enable us to see the remaining objects of '''movies''' '''data frame'''. &amp;#160;&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 191:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 190:&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;|| Highlight '''moviesComedy''' in the '''Environment''' 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;|| Highlight '''moviesComedy''' in the '''Environment''' window &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;|| Resulting data frame is stored in an object called '''moviesComedy '''in the''' Environment window.'''&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;|| Resulting data frame is stored in an object called '''moviesComedy '''in the''' Environment window.'''&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;Let us view the data frame '''moviesComedy''' to check whether it contains '''movies''' with genre as '''Comedy'''.&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 us view the data frame '''moviesComedy''' to check whether it contains '''movies''' with genre as '''Comedy'''.&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 244:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 242:&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; | Highlight '''moviesComDr''' in 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;|&amp;#160; | Highlight '''moviesComDr''' in the '''Source''' window &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; | '''moviesComDr '''opens in 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;|&amp;#160; | '''moviesComDr '''opens in 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;The '''movies''' having '''genre''' as either '''Comedy '''or '''Drama '''have been filtered. &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;The '''movies''' having '''genre''' as either '''Comedy '''or '''Drama '''have been filtered. &amp;#160;&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 281:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 278:&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;|| Highlight '''moviesComDrP''' in 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;|| Highlight '''moviesComDrP''' in the '''Source''' window &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;|| '''moviesComDrP '''opens in 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;|| '''moviesComDrP '''opens in 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;The '''movies''' having '''genre''' as either '''Comedy '''or '''Drama '''have been filtered. &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;The '''movies''' having '''genre''' as either '''Comedy '''or '''Drama '''have been filtered. &amp;#160;&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 433:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 429:&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;* Consider the built-in data set '''mtcars'''. Find the cars with '''hp''' greater than 100 and '''cyl''' equal to 3.&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;* Consider the built-in data set '''mtcars'''. Find the cars with '''hp''' greater than 100 and '''cyl''' equal to 3.&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;* Arrange the '''mtcars''' data set based on '''mpg''' variable.&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;* Arrange the '''mtcars''' data set based on '''mpg''' variable.&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;/table&gt;</summary>
		<author><name>Sudhakarst</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48640&amp;oldid=prev</id>
		<title>Sudhakarst at 13:35, 6 August 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48640&amp;oldid=prev"/>
				<updated>2019-08-06T13:35:25Z</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 13:35, 6 August 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&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;'''Keywords''': R, RStudio, data manipulation, dplyr, filter, video tutorial&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;'''Keywords''': R, RStudio, data manipulation, dplyr, filter, video tutorial&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;{| border =1&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;{| border =1&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;|'''Visual &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Cue’’’&lt;/del&gt;&lt;/div&gt;&lt;/td&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: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''Visual &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Cue'''&lt;/ins&gt;&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 class=&quot;diffchange diffchange-inline&quot;&gt;Narration’’’&lt;/del&gt;&lt;/div&gt;&lt;/td&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: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Narration'''&lt;/ins&gt;&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;|-&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 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;|| Show slide&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;|| Show slide&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sudhakarst</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48639&amp;oldid=prev</id>
		<title>Sudhakarst: Created page with &quot;'''Title of the script''': Data Manipulation using dplyr package   '''Author''': Varshit Dubey (CoE Pune) and Sudhakar Kumar (IIT Bombay)  '''Keywords''': R, RStudio, data man...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Data-Manipulation-using-dplyr-Package/English&amp;diff=48639&amp;oldid=prev"/>
				<updated>2019-08-06T13:35:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of the script&amp;#039;&amp;#039;&amp;#039;: Data Manipulation using dplyr package   &amp;#039;&amp;#039;&amp;#039;Author&amp;#039;&amp;#039;&amp;#039;: Varshit Dubey (CoE Pune) and Sudhakar Kumar (IIT Bombay)  &amp;#039;&amp;#039;&amp;#039;Keywords&amp;#039;&amp;#039;&amp;#039;: R, RStudio, data man...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of the script''': Data Manipulation using dplyr package &lt;br /&gt;
&lt;br /&gt;
'''Author''': Varshit Dubey (CoE Pune) and Sudhakar Kumar (IIT Bombay)&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': R, RStudio, data manipulation, dplyr, filter, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border =1&lt;br /&gt;
|'''Visual Cue’’’&lt;br /&gt;
|'''Narration’’’&lt;br /&gt;
|-&lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Data manipulation using dplyr'' ''package'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn about,&lt;br /&gt;
* Data manipulation&lt;br /&gt;
* '''dplyr''' package&lt;br /&gt;
* How to use '''filter''' and '''arrange''' functions&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
Show slide&lt;br /&gt;
&lt;br /&gt;
Pre-requisites&lt;br /&gt;
|| To understand this tutorial, you should know, &lt;br /&gt;
* Basics of statistics &lt;br /&gt;
* Basics of '''ggplot2''' package&lt;br /&gt;
* Data frames &lt;br /&gt;
&lt;br /&gt;
If not, please locate the relevant tutorials on '''R''' on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
System Specifications&lt;br /&gt;
|| This tutorial is recorded on&lt;br /&gt;
* '''Ubuntu Linux '''OS version '''16.04'''&lt;br /&gt;
* '''R''' version '''3.4.4'''&lt;br /&gt;
* '''RStudio''' version '''1.1.463'''&lt;br /&gt;
&lt;br /&gt;
Install '''R''' version '''3.2.0''' or higher. &lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Download Files&lt;br /&gt;
|| For this tutorial, we will use&lt;br /&gt;
* A '''data frame''' '''moviesData.csv'''&lt;br /&gt;
* A '''script''' file '''myVis.R'''.&lt;br /&gt;
&lt;br /&gt;
Please download these files from the '''Code files''' link of this tutorial. &lt;br /&gt;
|- &lt;br /&gt;
|| [Computer screen]&lt;br /&gt;
&lt;br /&gt;
Highlight '''moviesData.csv '''and''' myVis.R '''in the folder '''DataVis '''&lt;br /&gt;
|| I have downloaded and moved these files to '''DataVis''' folder. &lt;br /&gt;
&lt;br /&gt;
This folder is located in '''myProject''' folder on my '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
I have also set '''DataVis''' folder as my '''Working Directory.''' &lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Need for Data Manipulation&lt;br /&gt;
|| In real life, it is rare that we get the data in exactly the right form we need. &lt;br /&gt;
|- &lt;br /&gt;
|| Show slide &lt;br /&gt;
&lt;br /&gt;
Need for Data Manipulation&lt;br /&gt;
&lt;br /&gt;
|| Often we’ll need to &lt;br /&gt;
* create some new variables or summaries&lt;br /&gt;
* rename the variables&lt;br /&gt;
* reorder the observations in order to make the data a little easier to work with&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| We will learn how to achieve all this by using '''dplyr''' package.&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
About dplyr Package&lt;br /&gt;
&lt;br /&gt;
|| * '''dplyr''' is a package for data manipulation, written and maintained by '''Hadley Wickham'''.&lt;br /&gt;
* It comprises many functions that perform mostly used data manipulation operations. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Let us switch to '''RStudio'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''myVis.R''' in the '''Files '''window''' '''of '''RStudio '''&lt;br /&gt;
|| Open the '''script myVis.R '''in''' RStudio'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Source''' button&lt;br /&gt;
|| Let us run this '''script''' by clicking on the '''Source''' button. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''movies''' in the '''Source''' window &lt;br /&gt;
|| '''movies data frame''' opens in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This '''data frame''' will be used later in this tutorial. &lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Now, we will install '''dplyr''' package. Please make sure that you are connected to the Internet. &lt;br /&gt;
|- &lt;br /&gt;
|| [RStudio] &lt;br /&gt;
&lt;br /&gt;
'''install.packages(&amp;quot;dplyr&amp;quot;)'''&lt;br /&gt;
|| In the '''Console''' window, type the following command and press '''Enter'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the red dot in the '''Console''' window &lt;br /&gt;
|| The installation of the package takes a few seconds. &lt;br /&gt;
&lt;br /&gt;
We will wait while the package is being installed. &lt;br /&gt;
|- &lt;br /&gt;
|| Click at the top of the '''script myVis.R'''&lt;br /&gt;
|| To load this package, we will add the library at the top of the '''script'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''script myVis.R''' in the '''Source''' window &lt;br /&gt;
|| Click on the '''script myVis.R'''&lt;br /&gt;
|- &lt;br /&gt;
|| [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''library(dplyr)'''&lt;br /&gt;
&lt;br /&gt;
Press '''Ctrl+Enter''' keys.&lt;br /&gt;
|| At the top of the '''script''', type '''library '''and '''dplyr '''in parentheses'''.'''&lt;br /&gt;
&lt;br /&gt;
Save the '''script '''and run this line by pressing '''Ctrl+Enter''' keys simultaneously.&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Functions in '''dplyr''' package&lt;br /&gt;
&lt;br /&gt;
|| Now we learn about some key functions in '''dplyr '''package: &lt;br /&gt;
* '''filter - '''to select cases based on their values. &lt;br /&gt;
* '''arrange - '''to reorder the cases.''' '''&lt;br /&gt;
* '''select - '''to select variables based on their names.&lt;br /&gt;
* '''mutate - '''to add new variables that are functions of existing variables.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Functions in '''dplyr''' package&lt;br /&gt;
|| * '''summarise - '''to condense multiple values to a single value.&lt;br /&gt;
&lt;br /&gt;
These all functions can be combined with '''group underscore by''' function. It allows us to perform any operation by a group.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Let us switch to '''RStudio'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''movies''' in the '''Source''' window &lt;br /&gt;
|  | In the '''Source''' window, click on '''movies'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the scroll bar in the '''Source''' window &lt;br /&gt;
|| In the '''Source''' window, scroll from left to right. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable us to see the remaining objects of '''movies''' '''data frame'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''genre''' in the '''Source''' window &lt;br /&gt;
|| Suppose we want to filter the movies having '''genre''' as '''Comedy'''.&lt;br /&gt;
&lt;br /&gt;
For this, we will use the '''filter''' function. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''script myVis.R''' in the '''Source''' window &lt;br /&gt;
|| Click on the '''script myVis.R'''&lt;br /&gt;
|- &lt;br /&gt;
|| [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''moviesComedy &amp;lt;- filter(movies,'''&lt;br /&gt;
&lt;br /&gt;
'''genre == &amp;quot;Comedy&amp;quot;)'''&lt;br /&gt;
|| In the '''Source''' window, type the following command. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''filter''' in the '''Source''' window &lt;br /&gt;
|| Recall that, '''filter '''function in '''dplyr''' package allows us to select cases based on their values. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''movies''' after '''filter''' in the '''Source''' window &lt;br /&gt;
|| Inside the '''filter''' function, the first argument is the name of the '''data frame''' which is '''movies'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''genre == &amp;quot;Comedy&amp;quot; '''in the '''Source''' window &lt;br /&gt;
|| The second argument is the value by which we want to filter the '''movies''' data frame. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Save the '''script''' and run the current line. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComedy''' in the '''Environment''' window &lt;br /&gt;
|| Resulting data frame is stored in an object called '''moviesComedy '''in the''' Environment window.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us view the data frame '''moviesComedy''' to check whether it contains '''movies''' with genre as '''Comedy'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''View(moviesComedy) '''&lt;br /&gt;
|| In the '''Source''' window, type the following command. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Run the current line. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComedy''' in the Source window &lt;br /&gt;
|| '''moviesComedy''' data frame opens in the '''Source''' window. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''genre''' in the '''Source''' window &lt;br /&gt;
|| All the '''movies''' having genre as '''Comedy''' have been filtered. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComedy''' in the Source window &lt;br /&gt;
|| Let us close this data frame '''moviesComedy '''for now. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''filter''' in the '''Source''' window &lt;br /&gt;
|| We can also use logical operators to combine two or more than two values. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''movies''' in the '''Source''' window &lt;br /&gt;
|  | In the '''Source''' window, click on '''movies'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''genre''' in the '''Source''' window &lt;br /&gt;
|| Suppose we want to filter the '''movies''' with '''genre''' as either '''Comedy '''or '''Drama'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''script myVis.R''' in the '''Source''' window &lt;br /&gt;
|| Click on the '''script myVis.R'''&lt;br /&gt;
|- &lt;br /&gt;
|| [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''moviesComDr &amp;lt;- filter(movies,'''&lt;br /&gt;
&lt;br /&gt;
'''genre == &amp;quot;Comedy&amp;quot; | genre == &amp;quot;Drama&amp;quot;)'''&lt;br /&gt;
&lt;br /&gt;
'''View(moviesComDr)'''&lt;br /&gt;
|| In the '''Source''' window, type the following commands. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''filter''' in the '''Source''' widow &lt;br /&gt;
|| Here, we have two values by which we would like to filter '''movies''' '''data frame'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight''' |''' in the '''Source''' window &lt;br /&gt;
|| For this, we have used a logical '''OR''' operator. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Run the last two lines of code. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''moviesComDr''' in the '''Source''' window &lt;br /&gt;
|  | '''moviesComDr '''opens in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''movies''' having '''genre''' as either '''Comedy '''or '''Drama '''have been filtered. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComDr''' in the '''Source''' window &lt;br /&gt;
|| Let us close this data frame '''moviesComDr '''for now. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''moviesComDr &amp;lt;- filter(movies, genre == &amp;quot;Comedy&amp;quot; | genre == &amp;quot;Drama&amp;quot;) '''in the '''Source''' window &lt;br /&gt;
|  | This '''filter''' function can also be written using the '''match''' operator. &lt;br /&gt;
|-&lt;br /&gt;
|  | [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''moviesComDrP &amp;lt;- filter(movies,'''&lt;br /&gt;
&lt;br /&gt;
'''genre %in% c(&amp;quot;Comedy&amp;quot;, &amp;quot;Drama&amp;quot;)) '''&lt;br /&gt;
&lt;br /&gt;
'''View(moviesComDrP)'''&lt;br /&gt;
|  | In the '''Source''' window, type the following command. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''%in%''' in the '''Source''' window &lt;br /&gt;
|  | '''%in%''' is used for value matching. &lt;br /&gt;
|-&lt;br /&gt;
|  | [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''help('%in%')'''&lt;br /&gt;
|  | To know more about this operator, let us access the '''Help'''. &lt;br /&gt;
&lt;br /&gt;
In the '''Console''' window, type the following command and press '''Enter'''. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''Help''' window &lt;br /&gt;
|  | Match returns a vector of the positions of (first) matches of its first argument in its second.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Run the last two lines of code. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComDrP''' in the '''Source''' window &lt;br /&gt;
|| '''moviesComDrP '''opens in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''movies''' having '''genre''' as either '''Comedy '''or '''Drama '''have been filtered. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComDrP''' in the '''Source''' window &lt;br /&gt;
|| Let us close this data frame '''moviesComDrP '''for now. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''movies''' in the '''Source''' window &lt;br /&gt;
|  | In the '''Source''' window, click on '''movies'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the scroll bar in the '''Source''' window &lt;br /&gt;
|| In the '''Source''' window, scroll from left to right. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''genre''' and '''imdb_rating''' in the '''Source''' window &lt;br /&gt;
|| Let us now filter '''movies''' with '''genre''' as '''Comedy '''and '''imdb '''underscore''' rating '''greater than or equal to 7 point 5.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''script myVis.R''' in the '''Source''' window &lt;br /&gt;
|| Click on the '''script myVis.R'''&lt;br /&gt;
|- &lt;br /&gt;
|| [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''moviesComIm &amp;lt;- filter(movies,'''&lt;br /&gt;
&lt;br /&gt;
'''genre == &amp;quot;Comedy&amp;quot; &amp;amp; imdb_rating &amp;gt;= 7.5)'''&lt;br /&gt;
&lt;br /&gt;
'''View(moviesComIm)'''&lt;br /&gt;
|| In the '''Source''' window, type the following command. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''genre == &amp;quot;Comedy&amp;quot; &amp;amp; imdb_rating &amp;gt;= 7.5 '''in the '''Source''' window &lt;br /&gt;
|| Here, we have used a logical '''AND''' operator to include both conditions. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Save the script and run the last two lines of code. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComIm''' in the '''Source''' window &lt;br /&gt;
|| '''moviesComIm '''opens in the '''Source''' window. &lt;br /&gt;
&lt;br /&gt;
I will resize the '''Console''' window. &lt;br /&gt;
&lt;br /&gt;
There are seven movies with '''genre''' as '''Comedy '''and '''imdb '''underscore''' rating '''greater than or equal to 7 point 5. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesComIm''' in the '''Source''' window &lt;br /&gt;
|| Let us close this data frame '''moviesComIm '''for now. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''movies''' in the '''Source''' window &lt;br /&gt;
|  | In the '''Source''' window, click on '''movies'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''imdb_rating''' in the '''Source''' window &lt;br /&gt;
|| Suppose, we want to arrange the '''movies''' in an ascending order of '''imdb '''underscore '''rating'''. &lt;br /&gt;
&lt;br /&gt;
For this, we will use the '''arrange''' function. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''script myVis.R''' in the '''Source''' window &lt;br /&gt;
|| Click on the '''script myVis.R'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''moviesImA &amp;lt;- arrange(movies, imdb_rating) '''&lt;br /&gt;
&lt;br /&gt;
'''View(moviesImA)'''&lt;br /&gt;
|  | In the '''Source''' window, type the following command. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Run the last two lines of code. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesImA''' in the '''Source''' window &lt;br /&gt;
|| '''moviesImA '''opens in the '''Source''' window. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''imdb_rating''' in the '''Source''' window&lt;br /&gt;
|| In the '''Source''' window, scroll from left to right and locate the '''imdb_rating''' column. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''movies''' have been arranged in ascending order of '''imdb_rating'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''imdb_rating''' in the '''Source''' window&lt;br /&gt;
|| Now, let us say we want to arrange the movies in descending order of''' imdb rating. '''&lt;br /&gt;
&lt;br /&gt;
For this, we use '''desc''' function. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesImA''' in the '''Source''' window &lt;br /&gt;
|| Let us close this data frame '''moviesImA '''for now. &lt;br /&gt;
|- &lt;br /&gt;
|| [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''moviesImD &amp;lt;- arrange(movies, desc(imdb_rating)) '''&lt;br /&gt;
&lt;br /&gt;
'''View(moviesImD)'''&lt;br /&gt;
|| In the '''Source''' window, type the following command. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Run the last two lines of code. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesImD''' in the '''Source''' window &lt;br /&gt;
|| '''moviesImD '''opens in the '''Source''' window. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''imdb_rating''' in the '''Source''' window&lt;br /&gt;
|| In the '''Source''' window, scroll from left to right and locate the '''imdb_rating '''column. &lt;br /&gt;
&lt;br /&gt;
The '''movies''' have been arranged in descending order of '''imdb_rating'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesImD''' in the '''Source''' window &lt;br /&gt;
|| Let us close this data frame '''moviesImD '''for now. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''movies''' in the '''Source''' window &lt;br /&gt;
|  | In the '''Source''' window, click on '''movies'''. &lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight '''genre''' and '''imdb_rating''' in the '''Source''' window&lt;br /&gt;
|  | Suppose we want to arrange the movies both by '''genre''' and '''imdb_rating'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''script myVis.R''' in the '''Source''' window &lt;br /&gt;
|| Click on the '''script myVis.R'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [RStudio]&lt;br /&gt;
&lt;br /&gt;
'''moviesGeIm &amp;lt;- arrange(movies, genre, imdb_rating)'''&lt;br /&gt;
&lt;br /&gt;
'''View(moviesGeIm)'''&lt;br /&gt;
|  | In the '''Source''' window, type the following commands. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the '''Run''' button in the '''Source''' window &lt;br /&gt;
|| Run the last two lines of code. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''moviesGeIm''' in the '''Source''' window &lt;br /&gt;
|| '''moviesGeIm '''opens in the '''Source''' window. &lt;br /&gt;
|- &lt;br /&gt;
|| Highlight the scroll bar in the '''Source''' window &lt;br /&gt;
|| In the '''Source''' window, scroll from left to right. &lt;br /&gt;
&lt;br /&gt;
'''movies''' have been arranged both by '''genre''' and '''imdb_rating'''.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Let us summarize what we have learnt.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
Show slide&lt;br /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we have learnt about:&lt;br /&gt;
* Data manipulation&lt;br /&gt;
* '''dplyr''' package&lt;br /&gt;
* How to use '''filter''' and '''arrange''' functions&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Assignment&lt;br /&gt;
|| We now suggest an assignment.&lt;br /&gt;
* Consider the built-in data set '''mtcars'''. Find the cars with '''hp''' greater than 100 and '''cyl''' equal to 3.&lt;br /&gt;
* Arrange the '''mtcars''' data set based on '''mpg''' variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
About the Spoken Tutorial Project&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|- &lt;br /&gt;
|| Show slide&lt;br /&gt;
&lt;br /&gt;
Spoken Tutorial Workshops&lt;br /&gt;
|| We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
Please contact us.&lt;br /&gt;
|- &lt;br /&gt;
|| Show Slide&lt;br /&gt;
&lt;br /&gt;
Forum to answer questions&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
|- &lt;br /&gt;
|| Show Slide&lt;br /&gt;
&lt;br /&gt;
Forum to answer questions&lt;br /&gt;
|| Please post your general queries in this forum.&lt;br /&gt;
|- &lt;br /&gt;
|| Show Slide&lt;br /&gt;
&lt;br /&gt;
Textbook Companion&lt;br /&gt;
|| The '''FOSSEE '''team coordinates the '''TBC '''project.&lt;br /&gt;
&lt;br /&gt;
For more details, please visit these sites.&lt;br /&gt;
|- &lt;br /&gt;
|| Show Slide&lt;br /&gt;
&lt;br /&gt;
Acknowledgment&lt;br /&gt;
|| The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India&lt;br /&gt;
|- &lt;br /&gt;
|| Show Slide&lt;br /&gt;
&lt;br /&gt;
Thank You&lt;br /&gt;
|| The script for this tutorial was contributed by Varshit Dubey (CoE Pune).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is Sudhakar Kumar from IIT Bombay signing off. Thanks for watching.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sudhakarst</name></author>	</entry>

	</feed>