R Commands Flashcards

1
Q

assigning a number or other properties to the variable on the left

A

”<-“

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

display the value assigned to a variable

A

“print”

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

dbinom

A

returns the probability of getting “k” when performing a task “n” times with a probability of “p”

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

pbinom

A

returns the cumulative probability of getting no more than x “k” when performing a task “n” times, with a probability of “p”

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

qbinom

A

the inverse for the cumulative probability function that returns a number of x in “k” with performing the task “n” times, which corresponds to a given cumulative probability of “p”

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

rbinom

A

returns “s” numbers of ‘k’ randomly picked from the binomial distribution with “n” and “p”

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

hist

A

command to draw a histogram of the data

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