Commit Graph

48 Commits

Author SHA1 Message Date
Boris Verkhovskiy
3e687f1a8c Remove leading and trailing empty lines in code blocks 2024-04-06 08:33:50 -07:00
kintrix
0aede01381
Update r.html.markdown 2023-03-09 14:38:40 +01:00
Marcel Ribeiro Dantas
5d133e8478
Merge branch 'master' into patch-1 2022-06-27 00:28:16 +02:00
Marcel Ribeiro Dantas
6162ab53ee
Merge branch 'master' into patch-1 2022-06-27 00:24:44 +02:00
Marcel Ribeiro Dantas
c4c53cc95e
Fix warning about stringsAsFactors
In R 4.0.0, stringsAsFactors default value changed from TRUE to FALSE. This commit fixes the warning message in the current file to make this clear for readers.

This commit also updates the list of contributors for this file.
2022-04-09 00:21:01 +02:00
Marcel Ribeiro Dantas
fbdc0115e9
Update return of class(mat) according to R 4.0.0
A matrix is the special case of a two-dimensional ‘array’.  Since R 4.0.0, ‘inherits(m, "array")’ is true for a ‘matrix’ ‘m’, which makes class(mat) return "matrix" "array", not only "matrix" as before.
2022-04-09 00:14:18 +02:00
Crystal-RainSlide
2313888888
[R/en] Format R code 2022-03-08 16:56:31 +08:00
Shivanshu
5828962380
Fixed output. (#4157)
Fixed output provided in comments beside the command.
2022-01-04 00:23:08 +08:00
Hank Hester
c351cab657
Remove binary gender example from R (#4082) 2021-01-15 11:30:42 +01:00
Adnane Hmunna
27f7f03401
Update r.html.markdown
Following R best practices, it's recommened to use only double-quotes.
2020-12-13 15:29:18 +01:00
Divay Prakash
de134e941b
Fix #3479
Change `http` to `https`.
2019-02-28 18:40:00 +05:30
Divay Prakash
3dcb56bc22 Fix R ggplot error, closes #2237 2018-11-02 14:47:22 +05:30
Keith Miyake
b3cb49f69f [r/en] Fix read.csv per #2236 2017-10-19 23:14:24 -07:00
HairyFotr
985d23a52b
Fix a bunch of typos 2017-08-23 10:14:39 +02:00
Kristin Linn
7ad97c2904 fix spaces at end-of-lines again 2015-10-20 17:10:58 -04:00
Kristin Linn
81c1b8334c fix spaces at end-of-lines 2015-10-20 17:06:41 -04:00
Kristin Linn
622e03a141 add statistical analysis section with general linear models 2015-10-20 16:57:36 -04:00
Kristin Linn
396e6f5d97 Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs 2015-10-20 16:26:35 -04:00
Kristin Linn
11aab085d6 add statistical analysis section with general linear models 2015-10-20 16:22:40 -04:00
Ben Harris
06253d40c5 Update r.html.markdown
Correct key used to execute a line on Windows.

closes #427
2015-10-16 12:30:08 +11:00
Gabriel Halley
960ee4a185 removing whitespace all over 2015-10-07 23:11:24 -04:00
acganesh
2f8765033f Add definition of parakeet in r.html.markdown
Added a definition of the `parakeet` variable.  It's currently never defined, but referenced.
2015-01-28 23:27:09 -06:00
searoso
3e40335e96 Update r.html.markdown 2015-01-25 05:06:13 +03:00
searoso
209dc039ec Update r.html.markdown
Added logical operators that were missing.
2015-01-20 21:34:18 +03:00
Bruno Kim Medeiros Cesar
a32bb0a2cc Remove misleading example of NA in Levels section
The levels section was using a level "NA" together with "female" and "male", which is misleading (given that NA was just introduced as a missing value). I updated it to what I believe is a better example of how NAs are interpreted.

Additionally, I edited a comment about Inf that wouldn't compile. How about inserting it at the tutorial altogether?
2014-11-01 01:37:26 -02:00
Adam
eab554a7a7 Review docs for added rouge lexers and update those with new highlighters 2014-09-08 13:08:28 +02:00
Antonio Lima
101a75fcbc Minor typo 2014-05-29 16:51:24 +02:00
e99n09
ae44309270 Fix accidentally-commented-out line
Un-commented a line that should have been executable.
2014-05-24 13:11:07 -04:00
e99n09
a8d8cee0d8 Update r.html.markdown
Minor changes to comments (fixing typos, etc.). Deleted "weird types" section; broke out "NULL" type into its own type category. Added instructions for dropping rows and columns in data.frame and data.table. How to make summary tables in data.table.
2014-05-24 08:54:39 -04:00
e99n09
31c74615e6 Significant new content
I moved some things around. I preserved isomorphismes' "no programming knowledge first" approach; I really like this. In the "programming-heavy" part of the tutorial, I emphasized from the very beginning that every "single" thing in R, like 4 or "foo", is really just a vector of length 1. I added in some whirlwind tours of data.table and ggplot2.
2014-05-23 15:37:15 -04:00
Sam Dodrill
777c333ff0 Remove references to hash and hashtag in favor of number symbol 2014-04-14 11:15:08 -07:00
Tom Hebbron
358f357a46 Update r.html.markdown
Fixed a problem with the jiggle function - variable x wasn't being updated before being returned, and the rnorm function was being asked to return x output values, rather than one.

After testing, the values given the documentation are now correct.
2013-09-04 19:56:17 +01:00
Adam Bard
c6123b96d6 Merge pull request #183 from isomorphisms/patch-4
Bender Bending Rodríguez
2013-08-11 12:05:55 -07:00
Johannes Choo
2f1db5d8ae fixed wrong sample output in r.htl.markdown 2013-08-11 20:11:44 +08:00
i
f0d771ddea Bender Bending Rodríguez
Let's make the function example do something a little more interesting.
2013-08-09 18:13:08 -04:00
Adam Bard
b86da2e208 Merge pull request #180 from isomorphisms/master
things you can do without programming
2013-08-08 17:40:47 -07:00
i
fbfca446ff Update r.html.markdown
...only in Windows
2013-08-08 17:51:32 -04:00
i
ee1b3546ad Update r.html.markdown
significant changes. style changes (no !, no =>). content additions. start by showing off R's non-programming features before getting to the language per se.
2013-08-08 17:50:52 -04:00
i
29bbaff5a6 wording
Compiling in LaTeX isn't that easy, actually...
2013-08-08 14:52:59 -04:00
Adam
9ad61b5586 Authors -> Contributors 2013-07-03 22:59:13 -07:00
Adam Bard
05d3fa73ae Merge pull request #83 from josericardo/fixing-list-initialization
Fixing list initialization in the R example.
2013-07-01 19:23:53 -07:00
Adam
555a67424d Merged changes for r 2013-07-01 19:22:35 -07:00
e99n09
442652961d Update r.html.markdown
Fixed the mistake about integers that yuhui brought up. Deleted the confusing suggestion about command-enter (doesn't work for all GUIs or on Windows). Added some more information about vectors. Added some information about conditional clauses. Included some information at the very end on where to get R and R GUIs
2013-07-01 22:00:22 -04:00
José Ricardo
b751e00faa Fixing list initialization in the R example. 2013-07-01 22:34:40 -03:00
Lubomír Sedlář
71f465ace6 Fix typos in R tutorial 2013-07-01 17:40:06 +02:00
Adam
83aeecb68a Added filename parameter 2013-06-29 20:19:14 -07:00
Adam
6e3e273451 A few fixes 2013-06-29 08:52:41 -07:00
e99n09
9f4c2399d6 Create r.html.markdown
An executable R tutorial (with complementary .csv file)
2013-06-29 03:37:14 -04:00