Command Quicklist Reference Flashcards

memorize R commands

1
Q

ls

A

LiSt objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

rm

A

ReMove objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

str

A

STRucture of an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

unz

A

UNZip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

getwd

A

GET Working Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

dir

A

DIRectory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

sprintf

A

String PRINT Formatted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

c

A

Combine values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

regexpr

A

REGular EXPRession

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

diag

A

DIAGonal values of a matrix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

col

A

COLumn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

lapply

A

List APPLY # apply function to each element and return a list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

sapply

A

Simplify APPLY apply function to each element and attempt to return a vector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

mapply

A

Multivariate APPLY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

tapply

A

Table APPLY # apply function to sets of values as defined by an index

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

apply

A

APPLY function to sets of values as defined by an index. Margin = 1 or 2 in apply – rows [1] come before columns [2]