You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1071,8 +1071,8 @@ myFactorial(25) # Returns the value of 25!
1071
1071
```
1072
1072
1073
1073
**Resources:**
1074
-
[Examples of builtin functions](https://www.statmethods.net/management/functions.html)
1075
-
[Practice on writing R functions](https://www.datacamp.com/courses/writing-functions-in-r)
1074
+
-[Examples of builtin functions](https://www.statmethods.net/management/functions.html)
1075
+
-[Practice on writing R functions](https://www.datacamp.com/courses/writing-functions-in-r)
1076
1076
1077
1077
## For loops, apply, sapply, lapply
1078
1078
@@ -1125,7 +1125,7 @@ myList <- list(x = 'my', y = 'list', z = 'is', w = 'cool')
1125
1125
lapply(myList, length) # This will give a list with 4 numbers: 2, 4, 2, 4
1126
1126
```
1127
1127
**Resources:**
1128
-
[Using apply, sapply, lapply in R](https://www.r-bloggers.com/using-apply-sapply-lapply-in-r/)
1128
+
-[Using apply, sapply, lapply in R](https://www.r-bloggers.com/using-apply-sapply-lapply-in-r/)
1129
1129
1130
1130
## If-else
1131
1131
As all the other languages, also R has operators for conditional statement (if-else):
@@ -1156,7 +1156,9 @@ x || y # Logical OR
1156
1156
## Plotting
1157
1157
Beside the builtin functions, there are several packages designed to produce high quality graphs. Probably, the most famous among these is ```ggplot2```.
1158
1158
Here, it is possible to find nice examples of data graphs generated using ```ggplot2```
1159
-
[R Graphs](http://www.cookbook-r.com/Graphs/)
1159
+
1160
+
-[R Graphs](http://www.cookbook-r.com/Graphs/)
1161
+
1160
1162
# Python
1161
1163
"Python is an interpreted high-level programming language for general-purpose programming."
0 commit comments