diff options
author | HairyFotr <hairyfotr@gmail.com> | 2017-08-23 10:14:39 +0200 |
---|---|---|
committer | HairyFotr <hairyfotr@gmail.com> | 2017-08-23 10:14:39 +0200 |
commit | 985d23a52b76593a120adff5381c2df3a80fe298 (patch) | |
tree | 0eeec5a7b13a110e18f319d1fe1c4568b68385a7 /r.html.markdown | |
parent | 9c5a67ca0f3c989ef31141f83d64fba10b93b059 (diff) |
Fix a bunch of typos
Diffstat (limited to 'r.html.markdown')
-rw-r--r-- | r.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/r.html.markdown b/r.html.markdown index 8539b10e..7a94ba05 100644 --- a/r.html.markdown +++ b/r.html.markdown @@ -192,7 +192,7 @@ class(-Inf) # "numeric" 2.0 * 2L # 4 # numeric times integer gives numeric 3L / 4 # 0.75 # integer over numeric gives numeric 3 %% 2 # 1 # the remainder of two numerics is another numeric -# Illegal arithmetic yeilds you a "not-a-number": +# Illegal arithmetic yields you a "not-a-number": 0 / 0 # NaN class(NaN) # "numeric" # You can do arithmetic on two vectors with length greater than 1, @@ -662,7 +662,7 @@ require(plyr) ######################### # "pets.csv" is a file on the internet -# (but it could just as easily be be a file on your own computer) +# (but it could just as easily be a file on your own computer) pets <- read.csv("http://learnxinyminutes.com/docs/pets.csv") pets head(pets, 2) # first two rows |