Logo

R Questions Set 19:

Quiz Mode

_______ returns a subset of the columns of a data frame 

1
2
3
4

Solution:

______ statement make a mosaic plot.

1
2
3
4

Solution:

The ________ is represented by the location parameter.

1
2
3
4

Solution:

What is the output of the code?

 

> x <- 7
> class(x)

1
2
3
4

Solution:

Which of the following declares the current plot as undeclared?

1
2
3
4

Solution:

The R package _____ specializes in converting data from wide to long format.

1
2
3
4

Solution:

Which of the following operators allows you to chain operations in a left-to-right fashion?

1
2
3
4

Solution:

Which of the following statements is an alternative to using solve()?

1
2
3
4

Solution:

The graphical parameter that defines how many lines appear in each of the four margins is called ________.

1
2
3
4

Solution:

The corresponding R function for the probability mass function (PMF) of a binomial distribution is

1
2
3
4

Solution: