Command Quicklist Reference Flashcards
memorize R commands
1
Q
ls
A
LiSt objects
2
Q
rm
A
ReMove objects
3
Q
str
A
STRucture of an object
4
Q
unz
A
UNZip
5
Q
getwd
A
GET Working Directory
6
Q
dir
A
DIRectory
7
Q
sprintf
A
String PRINT Formatted
8
Q
c
A
Combine values
9
Q
regexpr
A
REGular EXPRession
10
Q
diag
A
DIAGonal values of a matrix
11
Q
col
A
COLumn
12
Q
lapply
A
List APPLY # apply function to each element and return a list
13
Q
sapply
A
Simplify APPLY apply function to each element and attempt to return a vector
14
Q
mapply
A
Multivariate APPLY
15
Q
tapply
A
Table APPLY # apply function to sets of values as defined by an index