Skip to content

Commit 25c4800

Browse files
committed
Dimensions
1 parent 8b8a9ba commit 25c4800

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

index.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,18 @@ months ago, if persistent, install _v4.1.3_ from https://cloud.r-project.org/bin
161161
|===
162162
=== Dimensions of Environmental Data
163163
164-
* 1D data such as measurement of river flow, temperature, and rainfall, could be presented as time series
164+
* 1D data such as measurement of river flow, temperature, and rainfall, could be +
165+
presented as time series
165166
166-
* 2D data such as rainfall measured by satellite or remote sensing. It has longitude (x-axis) and latitude dimensions (y-axis).
167+
* 2D data such as rainfall measured by satellite or remote sensing. It has longitude +
168+
(x-axis) and latitude dimensions (y-axis).
167169
168-
* 3D data, similar to 2D with respect to x and y axes; however depth or elevation is considered. Examples, atmospheric data, oceanic data, and soil profiles.
170+
* 3D data, similar to 2D with respect to x and y axes; however depth or elevation is +
171+
considered. Examples, atmospheric data, oceanic data, and soil profiles.
169172
170-
Note: all these dimensions can additionally include the time axis.
173+
{bl}
174+
175+
NOTE: All these dimensions can additionally include the time axis.
171176
172177
== Variables and constants
173178

index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,12 @@
411411
Distribution Models</em> (SDMs) for the Ore Mountains</p><div class="ulist"><ul><li><p>Focus on endangered plant species of the region</p></li></ul></div></li></ol></div></div></section><section id="_your_turn"><h2>Your turn!</h2><div class="slide-content"><div class="ulist"><ul><li><p>Background</p></li><li><p>Programming experience?</p></li><li><p>Expectations of this course</p></li></ul></div></div></section></section>
412412
<section id="_prerequisites"><h2>Prerequisites</h2><div class="slide-content"><div class="olist arabic"><ol class="arabic"><li><p>Install <span class="image"><img src="./images/r-seeklogo.svg" alt="r seeklogo" height="45"></span>, version <em>4.x</em>:</p><div class="ulist"><ul><li><p>Download from <a href="https://cloud.r-project.org/" class="bare">https://cloud.r-project.org/</a></p></li><li><p>I encountered package compatibility issues with <em>v4.2</em> some<br>
413413
months ago, if persistent, install <em>v4.1.3</em> from <a href="https://cloud.r-project.org/bin/windows/base/old/4.1.3/R-4.1.3-win.exe">here (Windows)</a></p></li></ul></div></li><li><p>Install <span class="image"><img src="./images/RStudio_logo_flat.svg" alt="RStudio logo flat" height="45"></span></p><div class="ulist"><ul><li><p>Download from <a href="https://www.rstudio.com/products/rstudio/download/#download">here</a></p></li></ul></div></li><li><p><em>Swirl</em> exercises</p></li></ol></div></div></section>
414-
<section><section id="_reserved_words"><h2>Reserved words</h2><div class="slide-content"><div class="ulist"><ul><li><p>There are some words that have a special meaning in <span class="image"><img src="./images/r-seeklogo.svg" alt="r seeklogo" height="45"></span>:</p></li></ul></div><div class="paragraph"><p><br></p></div><table class="tableblock frame-none grid-none" style="width:65%"><colgroup><col style="width:20%"><col style="width:20%"><col style="width:20%"><col style="width:20%"><col style="width:20%"></colgroup><tbody><tr><td class="tableblock halign-center valign-top"><p class="tableblock">if</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">else</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">repeat</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">while</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">function</p></td></tr><tr><td class="tableblock halign-center valign-top"><p class="tableblock">for</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">in</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">next</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">break</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">TRUE</p></td></tr><tr><td class="tableblock halign-center valign-top"><p class="tableblock">FALSE</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NULL</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">Inf</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NaN</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA</p></td></tr><tr><td class="tableblock halign-center valign-top"><p class="tableblock">NA_integer_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA_real_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA_complex_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA_character_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock"></p></td></tr></table></div></section><section id="_dimensions_of_environmental_data"><h2>Dimensions of Environmental Data</h2><div class="slide-content"><div class="ulist"><ul><li><p>1D data such as measurement of river flow, temperature, and rainfall, could be presented as time series</p></li><li><p>2D data such as rainfall measured by satellite or remote sensing. It has longitude (x-axis) and latitude dimensions (y-axis).</p></li><li><p>3D data, similar to 2D with respect to x and y axes; however depth or elevation is considered. Examples, atmospheric data, oceanic data, and soil profiles.</p></li></ul></div>
415-
<div class="paragraph"><p>Note: all these dimensions can additionally include the time axis.</p></div></div></section></section>
414+
<section><section id="_reserved_words"><h2>Reserved words</h2><div class="slide-content"><div class="ulist"><ul><li><p>There are some words that have a special meaning in <span class="image"><img src="./images/r-seeklogo.svg" alt="r seeklogo" height="45"></span>:</p></li></ul></div><div class="paragraph"><p><br></p></div><table class="tableblock frame-none grid-none" style="width:65%"><colgroup><col style="width:20%"><col style="width:20%"><col style="width:20%"><col style="width:20%"><col style="width:20%"></colgroup><tbody><tr><td class="tableblock halign-center valign-top"><p class="tableblock">if</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">else</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">repeat</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">while</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">function</p></td></tr><tr><td class="tableblock halign-center valign-top"><p class="tableblock">for</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">in</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">next</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">break</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">TRUE</p></td></tr><tr><td class="tableblock halign-center valign-top"><p class="tableblock">FALSE</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NULL</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">Inf</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NaN</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA</p></td></tr><tr><td class="tableblock halign-center valign-top"><p class="tableblock">NA_integer_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA_real_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA_complex_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock">NA_character_</p></td><td class="tableblock halign-center valign-top"><p class="tableblock"></p></td></tr></table></div></section><section id="_dimensions_of_environmental_data"><h2>Dimensions of Environmental Data</h2><div class="slide-content"><div class="ulist"><ul><li><p>1D data such as measurement of river flow, temperature, and rainfall, could be<br>
415+
presented as time series</p></li><li><p>2D data such as rainfall measured by satellite or remote sensing. It has longitude<br>
416+
(x-axis) and latitude dimensions (y-axis).</p></li><li><p>3D data, similar to 2D with respect to x and y axes; however depth or elevation is<br>
417+
considered. Examples, atmospheric data, oceanic data, and soil profiles.</p></li></ul></div>
418+
<div class="paragraph"><p><br></p></div>
419+
<div class="admonitionblock note"><table><tr><td class="icon"><i class="fa fa-info-circle" title="Note"></i></td><td class="content">All these dimensions can additionally include the time axis.</td></tr></table></div></div></section></section>
416420
<section id="_variables_and_constants"><h2>Variables and constants</h2><div class="slide-content"><div class="ulist"><ul><li><p>Variables are used to store data, which can be changed afterwards</p></li><li><p>The name given to a variable is known as <em>identifier</em></p></li><li><p>Rules for <em>identifiers</em>:</p><div class="ulist"><ul><li><p>Can be a combination of letters, digits, period (<code>.</code>) and underscore (<code>_</code>)</p></li><li><p>Needs to start with a letter or period</p><div class="ulist"><ul><li><p>If starts with period, can not be followed by a digit, e.g. <code>.4var</code></p></li></ul></div></li><li><p><em>Reserved words</em> can not be used as <em>identifiers</em></p></li></ul></div></li><li><p><em>Constants</em> can not be modified, like <em>numbers</em> and <em>strings</em></p></li></ul></div></div></section>
417421
<section><section id="_basic_data_types"><h2>Basic data types</h2><div class="slide-content"><div class="admonitionblock note"><table><tr><td class="icon"><i class="fa fa-info-circle" title="Note"></i></td><td class="content">Everything in <span class="image"><img src="./images/r-seeklogo.svg" alt="r seeklogo" height="45"></span> is an <strong><em>object</em></strong><br>
418422
This basic data types are also known as <em>atomic classes</em><br>

0 commit comments

Comments
 (0)