Logo

R Questions Set 21:

Quiz Mode

Which R package combines multi-dimensional arrays?

1
2
3
4

Solution:

R code can be tested using the testthat package.

1
2
3
4

Solution:

How do you check whether an R object is NULL?

1
2
3
4

Solution:

Command lines entered at the console are limited to about _____ bytes.

1
2
3
4

Solution:

Which R function lists all values of a variable with their frequencies?

1
2
3
4

Solution:

Which of these R functions does NOT allow you to create a matrix?

1
2
3
4

Solution:

Which of the following functions merges two variables into one?

1
2
3
4

Solution:

You have a 2x2 matrix called M which looks like this:

23 | 41

55 | 77


How do you access the number 41 in the matrix?

1
2
3
4

Solution:

Which of the following statements finds the maximum value for each column in a data frame?

1
2
3
4

Solution:

When the mean (μ) is ___ and the standard deviation (σ) is ___, we say that the random variable has a standard normal distribution.

1
2
3
4

Solution: