Logo

R Questions Set 28:

Quiz Mode

The simplest artificial neuron is the _____.

1
2
3
4

Solution:

How many main functions exist in the tidyr package for tidying data?

1
2
3
4

Solution:

________ level plotting functions in R start a new plot.

1
2
3
4

Solution:

Which function carries out a chi-square test?

1
2
3
4

Solution:

Which of the following commands declares the current plot as unused?

1
2
3
4

Solution:

Which of the following is the symbol for the standard normal probability density function (PDF)?

1
2
3
4

Solution:

How to find out whether the means of 2 groups are equal to each other or not? 

1
2
3
4

Solution:

The Gaussian distribution is the most common probability distribution to work with.

1
2
3
4

Solution:

The filter() function is similar to the existing subset() function in R but is quite a bit faster.

1
2
3
4

Solution:

Explain the output of the code snippet.

 

> f <- function(num) {
+ hello <- "Hello, world!\n"
+ for(i in seq_len(num)) {
+                    cat(hello)
+ }
+                    chars <- nchar(hello) * num
+                    chars
+ }
> meaningoflife <- f(3)
> print(meaningoflife)

1
2
3
4

Solution: