<?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%2FFunctions-in-R%2FEnglish-timed</id>
		<title>R/C2/Functions-in-R/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%2FFunctions-in-R%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;action=history"/>
		<updated>2026-05-13T06:31:28Z</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/Functions-in-R/English-timed&amp;diff=52383&amp;oldid=prev</id>
		<title>Sakinashaikh at 13:31, 1 June 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52383&amp;oldid=prev"/>
				<updated>2020-06-01T13:31:12Z</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:31, 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 414:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 414:&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:08 &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;|| 10:08 &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;|| Now press '''Ctrl + Enter''' keys together to run the updated '''function'''. &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;|| Now press '''Ctrl + Enter''' keys together to run the updated '''function'''. &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;|- &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>Sakinashaikh</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52382&amp;oldid=prev</id>
		<title>Sakinashaikh at 13:30, 1 June 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52382&amp;oldid=prev"/>
				<updated>2020-06-01T13:30:50Z</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:30, 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 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&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;|| 00:00&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;|| 00:00&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;|| Welcome to this tutorial on '''Functions in R''&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;|| Welcome to this tutorial on '''Functions in R&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'&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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 463:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 463:&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;|| 11:19&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;|| 11:19&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 video at the following link summarises the Spoken Tutorial project.&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 video at the following link summarises the Spoken Tutorial project.&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/Functions-in-R/English-timed&amp;diff=52381&amp;oldid=prev</id>
		<title>Sakinashaikh at 13:30, 1 June 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52381&amp;oldid=prev"/>
				<updated>2020-06-01T13:30:19Z</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:30, 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 362:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 362:&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;|| 08:48&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;|| 08:48&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;|| '''Scope '''is the term used to describe how objects and '''variables''' get defined within '''R'''.&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;|| '''Scope '''is the term used to describe how objects and '''variables''' get defined within '''R'''.&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 455:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 454:&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;|| 10:57 &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;|| 10:57 &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;|| Create a '''function''' which takes a natural number as an '''argument''', and prints '''Fibonacci &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  &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;|| Create a '''function''' which takes a natural number as an '''argument''', and prints '''Fibonacci&amp;#160; &amp;#160; '''series&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;&amp;#160;&amp;#160;  '''series&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; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&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;|| 11:05 &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;|| 11:05 &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;|| For example, consider '''fibonacci(5). '''It should print the first 5 elements of '''Fibonacci '''series, &amp;#160;&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;|| For example, consider '''fibonacci(5). '''It should print the first 5 elements of '''Fibonacci '''series, i.e. 1, 1, 2, 3, 5. &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;  &lt;/del&gt;i.e. 1, 1, 2, 3, 5. &amp;#160;&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;/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>Sakinashaikh</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52380&amp;oldid=prev</id>
		<title>Sakinashaikh at 13:28, 1 June 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52380&amp;oldid=prev"/>
				<updated>2020-06-01T13:28:54Z</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:28, 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 258:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 258:&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;|| 05:56 &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;|| 05:56 &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 us type 21 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;|| Let us type 21 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 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 311:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 310:&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; 07:31&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; 07:31&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;|| '''Run''' this block of code to execute the '''function'''. &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;|| '''Run''' this block of code to execute the '''function'''. &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;/table&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52379&amp;oldid=prev</id>
		<title>Sakinashaikh: Created page with &quot;{| border =1 |'''Time''' |'''Narration'''  |- || 00:00 || Welcome to this tutorial on '''Functions in R''  |-  || 00:05 || In this tutorial, we will learn: Need for '''functio...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=R/C2/Functions-in-R/English-timed&amp;diff=52379&amp;oldid=prev"/>
				<updated>2020-06-01T13:26:52Z</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:00 || Welcome to this tutorial on &amp;#039;&amp;#039;&amp;#039;Functions in R&amp;#039;&amp;#039;  |-  || 00:05 || In this tutorial, we will learn: Need for &amp;#039;&amp;#039;&amp;#039;functio...&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:00&lt;br /&gt;
|| Welcome to this tutorial on '''Functions in R''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:05&lt;br /&gt;
|| In this tutorial, we will learn: Need for '''functions'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:10&lt;br /&gt;
|| How to create a '''user-defined function''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:15 &lt;br /&gt;
|| Scope of '''variables'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:17&lt;br /&gt;
|| To understand this tutorial, you should know, &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:21&lt;br /&gt;
|| Basics of permutation and combination &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:25&lt;br /&gt;
|| Basic '''data structures''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:28 &lt;br /&gt;
|| '''Conditional statements'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:31&lt;br /&gt;
|| If not, please locate the relevant tutorials on '''R''' on this website.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 00:38&lt;br /&gt;
|| This tutorial is recorded on '''Ubuntu Linux '''OS version 16.04&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:47&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:56&lt;br /&gt;
|| Install '''R''' version 3.2.0 or higher. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:02&lt;br /&gt;
|| For this tutorial, we will use&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:05 &lt;br /&gt;
|| A '''script''' file '''myFunctions.R'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:10&lt;br /&gt;
|| Please download this file from the '''Code files''' link of this tutorial. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:18&lt;br /&gt;
|| I have downloaded and moved this file to '''functions''' folder. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:24 &lt;br /&gt;
|| This folder is located in '''myProject''' folder on my '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:31 &lt;br /&gt;
|| I have also set '''functions''' folder as my '''Working Directory.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:38&lt;br /&gt;
|| A '''function''' is a set of '''statements''' organized together to perform a specific task. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:45&lt;br /&gt;
|| '''R''' has a large number of '''built-in functions'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:49 &lt;br /&gt;
|| In spite of that, sometimes we need to define our own '''functions'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 01:56&lt;br /&gt;
|| '''User-defined functions''' are specific to user’s requirements. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:02 &lt;br /&gt;
|| Once created these '''functions''' can be used as the '''built-in functions'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:08&lt;br /&gt;
|| An '''R function '''is created by using the '''keyword function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:14 &lt;br /&gt;
|| The syntax of an '''R function''' is as follows:&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:20&lt;br /&gt;
|| The different parts of a '''function''' are: Name, '''Arguments''', '''Body''', Return value.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:32&lt;br /&gt;
|| Let us switch to '''RStudio'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:35&lt;br /&gt;
|| Open the '''script myFunctions.R '''in''' RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:42&lt;br /&gt;
|| Here, we have declared a sample '''vector''' named '''sampleVec'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 02:48 &lt;br /&gt;
|| Let us find the '''summary''' of this '''vector''' by using the '''built-in function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:55&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 02:59&lt;br /&gt;
|| Save the '''script''' and '''run''' this script by clicking on the '''Source''' button. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 03:07&lt;br /&gt;
|| The '''summary''' of '''sampleVec''' is displayed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:12 &lt;br /&gt;
|| It includes median, mean, etc. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:18&lt;br /&gt;
|| Similarly, '''R '''has many '''built-in functions''' to make our life easy. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:24 &lt;br /&gt;
|| But we can always create a '''function''' of our own, depending on the need. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:30&lt;br /&gt;
|| We will create a '''function''' that computes the '''permutation''' of two numbers. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:36&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:42&lt;br /&gt;
|| Here, we have named our '''function''' as '''permutation'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:48&lt;br /&gt;
|| Next, we have passed two values as '''arguments'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:53&lt;br /&gt;
|| Inside the '''function''', the definition of '''permutation''' has been written. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 03:58&lt;br /&gt;
|| Run the current line by pressing '''Ctrl + Enter''' keys simultaneously.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:05&lt;br /&gt;
|| Now, let us test this '''function''' to check whether it gives correct results. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:11 &lt;br /&gt;
|| First, we will calculate the '''permutation''' of 5 and 2.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:17&lt;br /&gt;
|| In the '''Source''' window, type '''permutation''' and in parentheses 5 comma 2. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:27&lt;br /&gt;
|| '''Run''' the current line.&lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
|| 04:29&lt;br /&gt;
|| The required value of 20 is displayed. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:34 &lt;br /&gt;
|| Thus, our '''function''' has given the correct result. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:39&lt;br /&gt;
|| While creating '''functions''', the '''arguments''' are optional. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 04:44 &lt;br /&gt;
|| Let us create a '''function''' that does not take any '''arguments'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:49&lt;br /&gt;
|| We will create a '''function''' named as '''votingEligibility'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:54&lt;br /&gt;
|| In the '''Source''' window, type the following '''commands'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 04:59&lt;br /&gt;
|| This '''function''' should print a message whether an Indian citizen is eligible to vote or not. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:08 &lt;br /&gt;
|| Remember the minimum age for Indian citizens to vote is 18 years.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 05:15&lt;br /&gt;
|| Here, we have not passed any '''arguments'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||  05:20&lt;br /&gt;
|| '''readline function''' reads a line from the '''terminal''' in interactive use.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:27&lt;br /&gt;
|| '''Run''' this block of code to execute the '''function votingEligibility'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:33&lt;br /&gt;
|| Now, we will run this '''function''' to see whether it works.&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
|| 05:38&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:42 &lt;br /&gt;
|| Please note that we are not passing any '''arguments''' inside this '''function'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:49&lt;br /&gt;
|| '''Run''' the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:52&lt;br /&gt;
|| We are asked to enter our age. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 05:56 &lt;br /&gt;
|| Let us type 21 and press '''Enter'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:02&lt;br /&gt;
|| We get a message, '''You can cast your vote'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:08&lt;br /&gt;
|| Now let us say we want to create a '''function''' '''sum_between_two''' such that &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:17 &lt;br /&gt;
|| it takes two natural numbers '''num1''' and '''num2''' as its '''arguments'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:26 &lt;br /&gt;
|| Then, it returns the sum of all numbers from '''num1''' to '''num2'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:32 &lt;br /&gt;
|| For example, if we pass 2 and 6 to the '''function sum_between_two''', &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:42&lt;br /&gt;
|| it should return the value of 2 + 3 + 4 + 5 + 6.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:50&lt;br /&gt;
|| Let us switch back to '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:54&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 06:59&lt;br /&gt;
|| We have named our '''function''' as '''sum_between_two.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:08&lt;br /&gt;
|| Also, we have specified the two '''arguments num1 '''and '''num2. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:14&lt;br /&gt;
|| Inside the '''function''', we have initialized an object named '''result''' to store the sum. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:22&lt;br /&gt;
|| We have created a '''for loop''' which will increment the '''result '''at each iteration.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||  07:31&lt;br /&gt;
|| '''Run''' this block of code to execute the '''function'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:36&lt;br /&gt;
|| Now we test our '''function sum_between_two '''by running it with two '''arguments'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:45&lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:51&lt;br /&gt;
|| '''Run''' the current line. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 07:53&lt;br /&gt;
|| The '''function''' with '''arguments''' 2 and 6 was executed, but we got nothing as output. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:03 &lt;br /&gt;
|| Let us investigate what went wrong. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:07&lt;br /&gt;
|| We know that our '''function''' got executed as we did not get any error after executing this line.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:16 &lt;br /&gt;
|| It means that the object named '''result ''' got incremented. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:22&lt;br /&gt;
|| Now, we will check the value of the '''result'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:26 &lt;br /&gt;
|| In the '''Source''' window, type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:31&lt;br /&gt;
|| '''Run''' the current line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:34&lt;br /&gt;
|| It shows, '''Error in print(result) : object 'result' not found.'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:40&lt;br /&gt;
|| To understand what went wrong, we need to learn a concept named as '''Scope'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 08:48&lt;br /&gt;
|| '''Scope '''is the term used to describe how objects and '''variables''' get defined within '''R'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 08:56 &lt;br /&gt;
|| If a '''variable''' is defined inside a '''function,''' then it can be accessed inside the '''function''' only. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:04 &lt;br /&gt;
|| So, if we try to access the same '''variable''' outside the '''function''', it will throw an error. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:12&lt;br /&gt;
|| Let us switch to '''RStudio'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:17&lt;br /&gt;
|| Here, the '''variable result''' is defined inside the '''function.''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 09:22 &lt;br /&gt;
|| So its scope is limited to this '''function''' only. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:27&lt;br /&gt;
|| Hence, when we tried to access this '''variable''' outside the '''function''', it threw an error. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:34&lt;br /&gt;
|| For this problem, we can use '''return function'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:39&lt;br /&gt;
|| Let us get back to our '''function sum_between_two'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:47&lt;br /&gt;
|| Press '''Enter''' at the end of '''for loop'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:53&lt;br /&gt;
|| Now type the following '''command'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 09:56&lt;br /&gt;
|| I will resize the '''Console''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:01&lt;br /&gt;
|| Select all lines of the '''function sum_between_two.'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:08 &lt;br /&gt;
|| Now press '''Ctrl + Enter''' keys together to run the updated '''function'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:17&lt;br /&gt;
|| Let us run the '''function''' again with '''arguments''' 2 and 6.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:23 &lt;br /&gt;
|| For this, we will run this line. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:27&lt;br /&gt;
|| We see the output 20 as expected. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:32&lt;br /&gt;
|| Let us summarize what we have learnt.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||10:36&lt;br /&gt;
|| In this tutorial, we have learnt: Need for '''functions'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:41 &lt;br /&gt;
|| How to create a '''user-defined function''' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:45 &lt;br /&gt;
|| Scope of '''variables'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 10:48&lt;br /&gt;
|| We now suggest an assignment.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 10:51 &lt;br /&gt;
|| Create a '''function''' which computes combination of the two numbers. &lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
|| 10:57 &lt;br /&gt;
|| Create a '''function''' which takes a natural number as an '''argument''', and prints '''Fibonacci    &lt;br /&gt;
   '''series&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
|| 11:05 &lt;br /&gt;
|| For example, consider '''fibonacci(5). '''It should print the first 5 elements of '''Fibonacci '''series, &lt;br /&gt;
   i.e. 1, 1, 2, 3, 5. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:19&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:24 &lt;br /&gt;
|| Please download and watch it.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:27&lt;br /&gt;
|| We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 11:33 &lt;br /&gt;
|| Please contact us.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:36&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:41&lt;br /&gt;
|| Please post your general queries in this forum.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:44&lt;br /&gt;
|| The '''FOSSEE '''team coordinates the '''TBC '''project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||  11:48&lt;br /&gt;
|| For more details, please visit these sites.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:52&lt;br /&gt;
|| The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| 11:59&lt;br /&gt;
|| The script for this tutorial was contributed by Varshit Dubey (College of Engineering Pune).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:07 &lt;br /&gt;
|| This is Sudhakar Kumar from IIT Bombay signing off. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 12:12 &lt;br /&gt;
|| Thanks for watching.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sakinashaikh</name></author>	</entry>

	</feed>