"R" functions Flashcards

To learn what the different functions in "R" do

You may prefer our related Brainscape-certified flashcards:
1
Q

skip()

A

well this one is damn obvious

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

skip()

A

well this one is damn obvious

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

play()

A

Play with swirl freestyle

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

main()

A

main menu

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

info()

A

return to options

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

help.start()

A

for more information on topics related to “R”

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

squared

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

c()

A

to create a vector

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

What is a vector?

A

A small collection of numbers. Used to combine numbers together
- you can also combine vectors to make NEW vectors

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

sqrt()

A

square root

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

”:” and seq()

A

to generate a regular sequence

You can use ‘length’, and ‘by’(if you want different intervals) to specify how you want your sequence to be produced

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

”:” and seq()

A

to generate a regular sequence

You can use ‘length’, ‘each’ and ‘by’(if you want different intervals) to specify how you want your sequence to be produced

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

NA

A

values that are statistically ‘not available’ or ‘missing’

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

main()

A

main menu

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

info()

A

return to options

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

help.start()

A

for more information on topics related to “R”

17
Q
A

squared

18
Q

c()

A

to create a vector

19
Q

What is a vector?

A

A small collection of numbers. Used to combine numbers together
- you can also combine vectors to make NEW vectors

20
Q

sqrt()

A

square root

21
Q

A

To associate two things:

z

22
Q

”:” and seq()

A

to generate a regular sequence

You can use ‘length’, ‘each’ and ‘by’(if you want different intervals) to specify how you want your sequence to be produced

23
Q

rep()

A

replicate
e.g. rep( 0, times = 5) => 0 0 0 0 0
you can use ‘times’(1 2 1 2) and ‘each’ (1 1 2 2) functions within replication.

24
Q

NA

A

values that are statistically ‘not available’ or ‘missing’

25
Q

rnorm()

A

the ‘normal distribution’ function.