summaryrefslogtreecommitdiffhomepage
path: root/r.html.markdown
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-07-01 08:52:43 -0700
committerAdam Bard <github@adambard.com>2013-07-01 08:52:43 -0700
commit998329756da05853eb625ae93ad5155115f623db (patch)
treecbe776272ff30f948e913234534c5bc206b4d13d /r.html.markdown
parent85ec26c3f884c2c13021676f7b2a36ac17925178 (diff)
parent71f465ace674b595f03e9495ea04ed63c3730427 (diff)
Merge pull request #77 from lubomir/patch-2
Fix typos in R tutorial
Diffstat (limited to 'r.html.markdown')
-rw-r--r--r.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/r.html.markdown b/r.html.markdown
index f68ede0e..38317776 100644
--- a/r.html.markdown
+++ b/r.html.markdown
@@ -130,7 +130,7 @@ vec <- c(4, 5, 6, 7)
vec # => [1] 4 5 6 7
# The class of a vector is the class of its components
class(vec) # => [1] "numeric"
-# If you vectorize items of different classes, weird coersions happen
+# If you vectorize items of different classes, weird coercions happen
c(TRUE, 4) # => [1] 1 4
c("dog", TRUE, 4) # => [1] "dog" "TRUE" "4"
@@ -192,7 +192,7 @@ mat3
# [,1] [,2] [,3] [,4]
# [1,] 1 2 4 5
# [2,] 6 7 0 4
-# Aah, everything of the same class. No coersions. Much better.
+# Aah, everything of the same class. No coercions. Much better.
# TWO-DIMENSIONAL (DIFFERENT CLASSES)
@@ -273,7 +273,7 @@ apply(mat, MAR = 2, myFunc)
# [2,] 7 19
# [3,] 11 23
# Other functions: ?lapply, ?sapply
-# Don't feel too intimiated; everyone agrees they are rather confusing
+# Don't feel too intimidated; everyone agrees they are rather confusing
# The plyr package aims to replace (and improve upon!) the *apply() family.