Logo

R Questions Set 15:

Quiz Mode

How can multiple objects parsed at once?

1
2
3
4

Solution:

The ask=T parameter in R asks before producing the _____.

1
2
3
4

Solution:

 What will be the output of the following R code 

 

> x <- vector("list", length = 5)
> x

1
2
3
4

Solution:

Functions that generate random Poisson variates with a given rate are called _____.

1
2
3
4

Solution:

Which of the following is the simplest form of data analysis?

1
2
3
4

Solution:

Which function generates random Normal variates with a given mean and standard deviation?

1
2
3
4

Solution:

Which of the following functions adds marginal sums to an existing table?

1
2
3
4

Solution:

v1 <- c(1, 22, 33)

v2 <- c("Hi", "there", "friend")

v3 <- c(11, 3, 2016)

d <- rbind(v1, v2, v3)

d[3, 2]

1
2
3
4

Solution:

Which probability distribution is commonly used in Bayesian statistics to model prior beliefs about a population proportion?

1
2
3
4

Solution:

Which of the following statements is another way to get a subset of a data frame?

1
2
3
4

Solution: