Lesson 2 Flashcards

1
Q

Creating a string

A

x < - “y”

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

Character Vector

A

x < - c(“x”, “y”, “z”)

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

Logical Values (Boolean)

A

TRUE, FALSE

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

Equality operator

A

x == y

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

Less-than-or-equal-to

A

x < = y

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

Greater-than-or-equal-to

A

x > = y

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

Not equal operator

A

x ! = y

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

Not operator

A

!x = y

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

AND operator (?)

A

x & y == z

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

OR operator (?)

A

x | y == z

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

Any function

A

any(x == y)

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

All function

A

all(x == y)

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

Which function

A

which(x == y)

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

Indexing

A

x[y]

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