From 1ff865ae4fd62b0434d5953eb6ff2f34c041b101 Mon Sep 17 00:00:00 2001 From: Vladimir Rapatskiy Date: Wed, 5 Nov 2014 14:50:10 +0300 Subject: [PATCH 1/2] Fixed typo on DataTypes slide 11 --- 02_RProgramming/DataTypes/index.Rmd | 2 +- 02_RProgramming/DataTypes/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/02_RProgramming/DataTypes/index.Rmd b/02_RProgramming/DataTypes/index.Rmd index 65eb1ce54..74906de78 100644 --- a/02_RProgramming/DataTypes/index.Rmd +++ b/02_RProgramming/DataTypes/index.Rmd @@ -200,7 +200,7 @@ NAs introduced by coercion > as.logical(x) [1] NA NA NA > as.complex(x) -[1] 0+0i 1+0i 2+0i 3+0i 4+0i 5+0i 6+0i +[1] NA NA NA ``` --- diff --git a/02_RProgramming/DataTypes/index.md b/02_RProgramming/DataTypes/index.md index ccd9ff364..997a3be33 100644 --- a/02_RProgramming/DataTypes/index.md +++ b/02_RProgramming/DataTypes/index.md @@ -200,7 +200,7 @@ NAs introduced by coercion > as.logical(x) [1] NA NA NA > as.complex(x) -[1] 0+0i 1+0i 2+0i 3+0i 4+0i 5+0i 6+0i +[1] NA NA NA ``` --- From 37031ab759b3fe471922d7335ca06188e17c1e73 Mon Sep 17 00:00:00 2001 From: Vladimir Rapatskiy Date: Wed, 5 Nov 2014 14:58:30 +0300 Subject: [PATCH 2/2] Fixed typo on Subsetting slide 7 --- 02_RProgramming/Subsetting/index.Rmd | 2 -- 02_RProgramming/Subsetting/index.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/02_RProgramming/Subsetting/index.Rmd b/02_RProgramming/Subsetting/index.Rmd index 88816007c..154d6162d 100644 --- a/02_RProgramming/Subsetting/index.Rmd +++ b/02_RProgramming/Subsetting/index.Rmd @@ -102,8 +102,6 @@ Similarly, subsetting a single column or a single row will give you a vector, no ## Subsetting Lists ```r -6/14 -Subsetting Lists > x <- list(foo = 1:4, bar = 0.6) > x[1] $foo diff --git a/02_RProgramming/Subsetting/index.md b/02_RProgramming/Subsetting/index.md index 88816007c..154d6162d 100644 --- a/02_RProgramming/Subsetting/index.md +++ b/02_RProgramming/Subsetting/index.md @@ -102,8 +102,6 @@ Similarly, subsetting a single column or a single row will give you a vector, no ## Subsetting Lists ```r -6/14 -Subsetting Lists > x <- list(foo = 1:4, bar = 0.6) > x[1] $foo